数据列 API
isUserEditEnabled()
返回 true 表示用户可以 删除/更改/隐藏 主数据列。
setUserEditEnabled(enabled)
enabled-true或false
启用或禁用用户 删除/更改/隐藏 主数据列。
mergeUp()
向上合并主数据列(如果可能)。
mergeDown()
向下合并主数据列(如果可能)。
unmergeUp()
取消向上合并主数据列(如果可能)。
unmergeDown()
取消向下合并主数据列(如果可能)。
detachToRight()
将主要系列固定在右侧的新价格轴上。
detachToLeft()
将主要系列固定在左侧的新价格轴上。
detachNoScale()
使主要系列成为叠加数据源。
changePriceScale(priceScale)
priceScale是具有以下值之一的字符串:"new-left"- 将主要系列附加到新的左侧价格刻度"new-right"- 将主要系列附加到新的左侧价格刻度entityId- 将主要系列固定在与指标相同的价格轴上的指标id
更改主要系列的价格刻度。
isVisible()
主系列是否可见。
setVisible(value)
value-true或false
设置主数据列显示/隐藏。
bringToFront()
置顶主数据列放置在其他图表对象之上。
sendToBack()
将主数据列放置在其他图表对象后面。
chartStyleProperties(chartStyle)
chartStyle- number
setChartStyleProperties(chartStyle, newPrefs)
设置指定图表样式的属性。
chartStyle- numbernewPrefs- object
最后更新于
这有帮助吗?