Home forums Chart Support How to define your own color set for a ReactJS canvas component?

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

    I am using the ReactJS canvasJS components.

    How do I define a custom color set?

    This link shows me how to do it in vanilla JS, but I’m looking for a ReactJS method.





    Defining custom color-set array using addColorSet method works fine in Vanilla JS, React, Angular, etc. Please take a look at this sample project.

    Vishwas R
    Team CanvasJS


    The solution works great!

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

You must be logged in to reply to this topic.