Teechart HTML5,线条颜色和粗细

4

如何在Teechart HTML5中更改系列的线条颜色和粗细。

我已经查看了示例,但没有找到描述这一点的内容。

1个回答

1

有一条线系列:

  • 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";
    

谢谢,但是我怎么改变颜色? - NikolajSvendsen

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接