VChart icon indicating copy to clipboard operation
VChart copied to clipboard

VChart, more than just a cross-platform charting library, but also an expressive data storyteller.

Results 387 VChart issues
Sort by recently updated
recently updated
newest added

### What problem does this feature solve? 1. 数据点标记能力:目前 markPoint 提供了在指定的数据点上标注文本和连接线,但是没有提供对数据点进行标记的功能,通过 `itemLine.startSymbol` 无法满足,因为在对数据点进行标记的同时,标注线还需要带上箭头,如下所示: 期望能够支持数据点上的标记能力,另外需要支持标注线同标记文本、数据点标记的间距配置功能。 2. 连接线类型扩充,期望支持圆弧线。目前通过 `line.style.curveType` 效果不太好 ### What does the proposed API look like? none

需求: ![image](https://github.com/VisActor/VChart/assets/20121525/fd515df7-6c20-4ab2-a907-0822b0494243) 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"...

open source community

需求: 图表数据量很大,且轴标签文本过长,想使用自动省略布局,但需要设置 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...

open source community

dom tooltip 的多行文本模式,可能会导致一些异常换行。原因是 canvas 的 measureText 的结果和 dom 环境的文本换行阈值不一致(measureText 计算出的宽度比 dom 需要的宽度略小)。 ![img_v3_02a6_1aad7371-2746-403a-8304-c2b8ebfe946g](https://github.com/VisActor/VChart/assets/15249097/b3e6a0bd-9c36-4c5c-922f-33907fab267c) 考虑支持 `extraWidth` 属性作为 tooltip 标签宽度的 buffer,在统一布局方法计算出 tooltip 标签宽度后,加上 `extraWidth` 属性并作用最终的 dom 标签宽度上。这样可以避免异常换行。 `extraWidth` 属性的默认值设在主题中,用户不用手动设置。 [[中文版模板 / Chinese...

vchart

### 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, },...

bug

### Version 1.10.4 ### Link to Minimal Reproduction null ### Steps to Reproduce https://visactor.io/vchart/demo/layout/grid-layout ### Current Behavior ![image](https://github.com/VisActor/VChart/assets/14228496/cc0aacb9-d666-46ce-a049-eac882e17eb2) ### Expected Behavior ![image](https://github.com/VisActor/VChart/assets/14228496/a2d34e6e-aa0e-494c-9c6e-b97ba2fdc4fc) ### Environment ```markdown - OS: - Browser: -...

bug

treemap中Label属性有目录但无文档 https://www.visactor.io/vchart/option/treemapChart#label.visible ![img_v3_02a0_e0f3e38e-4391-4253-8e21-7b518a48b3hu](https://github.com/VisActor/VChart/assets/6111424/c5a1c698-1e97-462a-af5d-c574db03549d)

### 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 ![img_v3_02a0_2e877442-2530-43c3-b56c-d8441a4d57bg](https://github.com/VisActor/VChart/assets/40026218/93963f88-edf2-4f85-9dab-6d8dfe906468) ### Expected Behavior The...

bug
bp

### Version 1.10.4 ### Link to Minimal Reproduction -1 ### Steps to Reproduce ![image](https://github.com/VisActor/VChart/assets/72694814/f5f62af4-4d32-4093-b8cd-09b7c7fc17eb) ### Current Behavior -1 ### Expected Behavior -1 ### Environment ```markdown - OS: - Browser: -...

bug
open source community