KLineChart实现一幅图上画多个蜡烛K线
# 引言 最近接到一个任务是通过 KLineChart✔️8.6.1 实现在一幅图上画两个合约的蜡烛图。研究 api 发现并没有通过配置实现的方法,于是联系作者沟通得知需要自己画图实现。于是有了本篇文章。 # 添加模版 let shortName = this.constant.periodTypeEnum.getNameByCode(this.klineType) + ' 合约2:' + this.currentInstrumentIdthis.chart.addTechnicalIndicatorTemplate({ name:...
more...