Home forums Using CanvasJS How to define your own color set for a ReactJS canvas component? Reply To: How to define your own color set for a ReactJS canvas component?

#23826

@ttchuah,

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