Home Forums Chart Support Is it possible to push different colors variable to separate multiple striplines Reply To: Is it possible to push different colors variable to separate multiple striplines

#27830

@islandt,

Please refer this page for more information on color codes supported by CanvasJS. Changing mColorDigit=[green,red,blue,green,red] to mColorDigit=['green','red','blue','green','red'] should work fine in your case.

If you are still facing the issue, kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?

From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.


Shashi Ranjan
Team CanvasJS