Home forums Using CanvasJS default series color

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20574


    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.

    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.