图表样式属性

每种图表样式都有不同的属性集。在这里,您可以找到相应图表样式及其类型的属性列表。

要更改属性, 请使用数据列Api.

Bar(美国线)

  • upColor (string)

  • downColor (string)

  • barColorsOnPrevClose (boolean)

  • dontDrawOpen (boolean)

  • thinBars (boolean)

Candle(K线图)

  • upColor (string)

  • downColor (string)

  • drawWick (boolean)

  • drawBorder (boolean)

  • borderColor (string)

  • borderUpColor (string)

  • borderDownColor (string)

  • wickColor (string)

  • wickUpColor (string)

  • wickDownColor (string)

  • barColorsOnPrevClose (boolean)

Line(线形图)

  • color (string)

  • linestyle (number)

  • linewidth (number)

  • styleType (number)

Area(面积图)

  • color1 (string)

  • color2 (string)

  • linecolor (string)

  • linestyle (number)

  • linewidth (number)

  • transparency (number)

Heikin Ashi(平均K线图)

  • upColor (string)

  • downColor (string)

  • drawWick (boolean)

  • drawBorder (boolean)

  • borderColor (string)

  • borderUpColor (string)

  • borderDownColor (string)

  • wickColor (string)

  • wickUpColor (string)

  • wickDownColor (string)

  • showRealLastPrice (boolean)

  • barColorsOnPrevClose (boolean)

Hollow Candle(空心K线图)

  • upColor (string)

  • downColor (string)

  • drawWick (boolean)

  • drawBorder (boolean)

  • borderColor (string)

  • borderUpColor (string)

  • borderDownColor (string)

  • wickColor (string)

  • wickUpColor (string)

  • wickDownColor (string)

Baseline(基准线)

  • topFillColor1 (string)

  • topFillColor2 (string)

  • bottomFillColor1 (string)

  • bottomFillColor2 (string)

  • topLineColor (string)

  • bottomLineColor (string)

  • topLineWidth (number)

  • bottomLineWidth (number)

  • transparency (number)

  • baseLevelPercentage (number)

Hi Lo

  • color (string)

  • showBorders (boolean)

  • borderColor (string)

  • showLabels (boolean)

  • labelColor (string)

  • fontSize (number)

Renko(砖形图)

  • upColor (string)

  • downColor (string)

  • borderUpColor (string)

  • borderDownColor (string)

  • upColorProjection (string)

  • downColorProjection (string)

  • borderUpColorProjection (string)

  • borderDownColorProjection (string)

  • wickUpColor (string)

  • wickDownColor (string)

Kagi(卡吉图)

  • upColor (string)

  • downColor (string)

  • upColorProjection (string)

  • downColorProjection (string)

Point & Figure(点数图)

  • upColor (string)

  • downColor (string)

  • upColorProjection (string)

  • downColorProjection (string)

Line Break(新价线)

  • upColor (string)

  • downColor (string)

  • borderUpColor (string)

  • borderDownColor (string)

  • upColorProjection (string)

  • downColorProjection (string)

  • borderUpColorProjection (string)

  • borderDownColorProjection (string)

最后更新于