形状与覆盖

您可以使用createMultipointShape(points, options)创建50多个不同的形状。它们在下表中列出,可以使用overrides更改默认属性。

一些属性的可能值:

  • linestyle: [0 (solid), 1 (dotted), 2 (dashed), 3 (large dashed)]

  • linewidth: [1, 2, 3, 4]

  • horzLabelsAlign: ["center", "left", "right"]

  • vertLabelsAlign: ["top", "middle", "bottom"]

  • leftEnd, rightEnd: [0 (Normal), 1 (Arrow)]

  • bars_pattern - mode: [0 (HL Bars, 1 (Line-Close), 2 (OC Bars), 3 (Line-Open), 4 (Line-High), 5 (Line-Low), 6 (Line-HL/2)]

最后更新于