KLineChart
KLineChart copied to clipboard
📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)
### 需求描述 比如,x轴坐标显示 3个点:9:30,11:30,15:00,如果当前数据到11:30的话,那么从11:30到15:00区域就不画线,但是要留位置出来,类似下图  ### 具体实现 谢谢大佬
### 版本 9.1.1 ### 复现步骤 手机端页面 ### 当前效果  ### 预期效果 滑动y轴调整价格间距 ### 环境 ```markdown - 系统: - 浏览器: - 框架:vue3 vite ``` ### 补充说明 _No response_
### 需求描述 API中对分时的描述内容较少,请问是否有计划完善分时功能。 1、支持双坐标轴。举例:分时左边Y轴显示数值坐标,右边Y轴显示百分比坐标。 2、支持自定义0轴。举例:以昨收作为分时0轴,且上下居中显示,上下两边的最大值采用两侧与0轴差值绝对值的最大值 ### 具体实现 详见需求描述
### Feature Description Are you planning to add some animations to the chart when updating data?
### 需求描述 通过getIndicator获取指标拿到的数据是没有时间戳唯一键的,导致读取到数据后还要自己中转才能确认指标数据所属哪根蜡烛条 当前读取到的指标数据: { result:[ { "指标项1":值1, "指标项2":值2 } ] } ### 具体实现 通过getIndicator获取指标拿到的数据含有时间戳唯一键!!! 期望读取到的指标数据: { result:[ { "timestamp":所属蜡烛条时间戳, "指标项1":值1, "指标项2":值2 } ] }
### Feature Description Currently the library only works in the browser. It would be cool if the library could be used to generate a static chart image in nodejs too....
In solidjs ^1.8.15, when setting the style, the size needs to use numbers with units, and numbers cannot be used alone. This writing method is also supported in the historical...
### 需求描述 希望每根K线可以自定义颜色,这样可以实现不同波段显示不同的颜色。 ### 具体实现 增加颜色作为数据项一起传进去设置单个蜡烛图的颜色 // 为图表添加数据 chart.applyNewData([ { **color: '#FF0000',** close: 4976.16, high: 4977.99, low: 4970.12, open: 4972.89, timestamp: 1587660000000, volume: 204 }, { **color: '#AAAAAA',** close: 4977.33,...
### 需求描述 再布局中使用width100% flex 1 等自适应,但是拖动画面的时候图表不会自动自适应 ### 具体实现 再布局中使用width100% flex 1 等自适应,但是拖动画面的时候图表不会自动自适应