Home Forums Chart Support default series color

default series color

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

    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

    #20578

    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

    #32732

    [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.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.