Sets the color of dataSeries. The value of color can be a “HTML Color Name” or “Hex Code”.
Automatically set from Theme.
“red”, “green” ..
- If color is not set, in a single series chart, each dataPoint is given a new color, and in Multi-Series Chart, each dataSeries is given a different color.
- When not set, color for each dataSeries/dataPoint is chosen from the user defined or default theme.
var chart = new CanvasJS.Chart("container",