Home › forums › Using CanvasJS › default series color
Tagged: default color, get color
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 year, 5 months ago.
is there a way to get the series color that canvasjs picked?
(if I didnt set series color, canvasjs set default color), how can I get this color?
Its not possible to get dataSeries color using get method as of now.
However you can get the colorSet of the theme being used with the help of chart._selectedColorSet (which is an interval variable). Please take a look at this jsfiddle.
You must be logged in to reply to this topic.