Teechart HTML5, color and line thickness

How to change the color and thickness of a line in Teechart HTML5.

I looked through examples, but I can not find anything describing it.

+4
source share
1 answer

The presence of a series of lines:

  • To change the line thickness, change the property format.stroke.size. I.e:

    Chart1.series.items[0].format.stroke.size=2;
    
  • To change the color of a series, change the property format.stroke.fill. I.e:

    Chart1.series.items[0].format.stroke.fill="red";
    
+1
source

All Articles