You must be logged in to post your query.
Home › Forums › Chart Support › default series color
Tagged: default color, get color
Hello,
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?
Thanks, Larry
Larry,
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.
— Vishwas R Team CanvasJS
[UPDATE]
We have just released v3.2.9 Beta-1 with this feature. Please refer to the release blog for more information. Do download the latest version from download page & let us know your feedback.
You must be logged in to reply to this topic. Login/Register