VChart
VChart copied to clipboard
VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
### What problem does this feature solve? 1. 数据点标记能力:目前 markPoint 提供了在指定的数据点上标注文本和连接线,但是没有提供对数据点进行标记的功能,通过 `itemLine.startSymbol` 无法满足,因为在对数据点进行标记的同时,标注线还需要带上箭头,如下所示: 期望能够支持数据点上的标记能力,另外需要支持标注线同标记文本、数据点标记的间距配置功能。 2. 连接线类型扩充,期望支持圆弧线。目前通过 `line.style.curveType` 效果不太好 ### What does the proposed API look like? none
需求:  demo: https://codesandbox.io/p/sandbox/muddy-firefly-d7gj2p?file=%2Fsrc%2FBar%2Findex.ts spec 参数: ```javascript const spec = { type: 'bar', data: { values: [ { "x0": "自然", "x1": "深市", "x2": "2022", "x": "自然-深市-2022", "type": "券商计数", "value": "1"...
需求: 图表数据量很大,且轴标签文本过长,想使用自动省略布局,但需要设置 sampling: false,从而导致缩略轴拖动有卡顿现象。 卡顿 demo: https://codesandbox.io/p/sandbox/hopeful-ritchie-dpr2ld?file=%2Fsrc%2Findex.ts 官方 demo:(缩略轴支持大数据量场景下交互) https://visactor.io/vchart/demo/data-zoom/data-zoom-big-data spec 参数: ``` javascript const responseOrder = await fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/order-count-data.json'); const dataOrder = await responseOrder.json(); const responseProfit = await fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/profit-count-data.json'); const...
dom tooltip 的多行文本模式,可能会导致一些异常换行。原因是 canvas 的 measureText 的结果和 dom 环境的文本换行阈值不一致(measureText 计算出的宽度比 dom 需要的宽度略小)。  考虑支持 `extraWidth` 属性作为 tooltip 标签宽度的 buffer,在统一布局方法计算出 tooltip 标签宽度后,加上 `extraWidth` 属性并作用最终的 dom 标签宽度上。这样可以避免异常换行。 `extraWidth` 属性的默认值设在主题中,用户不用手动设置。 [[中文版模板 / Chinese...
### Version 1.10.1 ### Link to Minimal Reproduction null ### Steps to Reproduce const spec = { "type": "line", "padding": { top: 0, bottom: 0, left: 0, right: 0, },...
### Version 1.10.4 ### Link to Minimal Reproduction null ### Steps to Reproduce https://visactor.io/vchart/demo/layout/grid-layout ### Current Behavior  ### Expected Behavior  ### Environment ```markdown - OS: - Browser: -...
treemap中Label属性有目录但无文档 https://www.visactor.io/vchart/option/treemapChart#label.visible 
### Version @visactor/vchart : "1.10.3" ### Link to Minimal Reproduction null ### Steps to Reproduce use this spec in the text [label-clip.txt](https://github.com/VisActor/VChart/files/14998210/label-clip.txt) ### Current Behavior  ### Expected Behavior The...
### Version 1.10.4 ### Link to Minimal Reproduction -1 ### Steps to Reproduce  ### Current Behavior -1 ### Expected Behavior -1 ### Environment ```markdown - OS: - Browser: -...