Search code examples
wijmo

How do you change the line color in wijmo?


I'm doing a line graph in wijmo, and it works great, but I can't find an area of documentation or a sample that tells me how to change the color of the lines. Does anyone know how to do this?


Solution

  • You can set the 'stroke' option in the seriesStyles collection of WijLineChart. You may refer to the following sample implementing the same: http://wijmo.com/demo/explore/?widget=LineChart&sample=Stroke%20styles