如何在Teechart HTML5中更改系列的线条颜色和粗细。
我已经查看了示例,但没有找到描述这一点的内容。
如何在Teechart HTML5中更改系列的线条颜色和粗细。
我已经查看了示例,但没有找到描述这一点的内容。
有一条线系列:
To modify the line thickness, change the series format.stroke.size
property. Ie:
Chart1.series.items[0].format.stroke.size=2;
To modify the series color, change the series format.stroke.fill
property. Ie:
Chart1.series.items[0].format.stroke.fill="red";