KLineChart实现自定义指标画图
# 引言 本次任务是需要在一个指标上点击标记后画出此标记参与计算的范围、参考线等等,于是有了以下代码。代码仅供参考,如有错误的地方请指正! // 箱体指标const boxDataScope = 300 // 箱体范围// 黄金线参数const goldenSectionA = 0.191const goldenSectionB = 0.382const goldenSectionC = 0.5const goldenSectionD = 0.618const goldenSectionE =...
more...