Home forums Using CanvasJS Custom color palate

This topic contains 2 replies, has 2 voices, and was last updated by  Vishwas R 4 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25714

    Hello Support.

    We have added our own custom color palate and all our charts are correctly pulling these colors for displaying the charts.

    With the one exception of a “Stacked Chart”. For the “Stacked Chart” it is reverting back to the palate that came with CanvasJS.

    Are the “Stacked Charts” different in some way with regards to using custom color palates…??

    Thanks in advance.

    #25715

    Also, I have a related question: Once CanvasJS sets the colors of a chart, can they be reset to use other colors even if it is using the same color palate in both instances…??

    The colors are assigned in exactly the same way even if I refresh the page/chart. Is there any way to “dynamically” assign different colors when refreshed…??

    Thanks.

    #25717

    @driven13,

    colorSet seems to be working fine irrespective of chart types. Can you kindly share JSFiddle reproducing the issue so that we can look into the code, understand the scenario better and help you out?


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.