VChart
VChart copied to clipboard
VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
### Version 1.13.8 ### Link to Minimal Reproduction null ### Steps to Reproduce ```ts const response = await fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/geojson/usa.json'); const geojson = await response.json(); VChart.registerMap('usa', geojson); const spec = {...
### Version 1.13.5 ### Link to Minimal Reproduction 1 ### Steps to Reproduce 1 ### Current Behavior "next": "^15.1.7" "react": "^19.0.0"   ### Expected Behavior 不报错 ### Environment ```markdown...
### What problem does this feature solve? 1. poptip position: 'auto' 2. poptip position: 'bottom'  ### What does the proposed API look like? 1. poptip 组件在计算位置的时候,能够尽量不遮挡原始的图形 2. poptip 组件可以考虑接收一个...
### What problem does this feature solve? 线性轴配置min、max、tickStep后,tick展示不全。 问题说明: 我用min:0.5,max:1.5确实是正常的,但是换成min:0.3,max:1.5右侧就显示不全刻度了是因为什么呢,1.5-0.3=1.2不是也能整除tickStep的0.2吗?  在min:0.3,max:1.5的情况下,tickStep换成0.1右侧也不能显示完全。  分析: 这应该是计算tick的时候数值插值不准确造成的,它的例子里,range: [0.3, 1.5], tickStep: 0.1, 计算出来最后一个tick是1.4000000001,那么下一个tick就是1.5000000001,而max是1.5,所以没绘制出来。 这是轴tick计算的通用逻辑,导致的bad case。普通坐标轴也是如此。  ### What does the proposed API look...
### What problem does this feature solve? 希望对Taro编译成小程序的版本,打包体积缩小。 目前使用了按需加载的情况下,仍旧体积还是非常大,超出了微信小程序2M的限制。 希望能做的更小一点。 ### What does the proposed API look like? 语义化标签使用 希望最后打包结果只有几百K。
### What problem does this feature solve? 目前饼图外部标签的布局算法,会将标签分类到左右半圆分别布局,会导致如下的 badcase。 即右侧看似有很大空间,但是顶部的部分标签依然被隐藏了。  图表配置如下: ```js const spec = { type: 'pie', width: 800, height: 500, data: [ { id: 'id0', values: [...
[[中文版模板 / Chinese template](https://github.com/VisActor/VChart/blob/main/.github/PULL_REQUEST_TEMPLATE/pr_cn.md?plain=1)] ### 🤔 This is a ... - [ ] New feature - [ ] Bug fix - [ ] TypeScript definition update - [ ] Bundle...
### Version latest ### Link to Minimal Reproduction NA ### Steps to Reproduce 当标注的文本是富文本时,和普通文本时的渲染位置有偏移,同时 containerAlign 没有生效。 ```ts const spec = { "direction": "vertical", "type": "common", "series": [ { "type": "bar",...
大屏仪表图配置区间后,区间标签由extensionMark构造,无防重叠效果,寻求优化方案。  可能的方案: 1. 底层抽象出标签防重叠接口,支持图表库在生成extensionMark后调用 2. 用轴代替区间标签,但轴要支持自定义tick Spec ```ts const minValue = 0 const maxValue = 1 const startAngle = -180 const endAngle = -0 const innerRadius = 0.75 const...
markPoint[index].itemContent 上富文本的配置 type: 'richText' 移除,因为目前 type: 'text' 类型下,已经支持了富文本配置,同时其功能 > type: 'richText',同时 type: 'richText' 配置同其他 marker 的富文本配置差异较大,用户使用心智上会有负担~ 当然要考虑下type: 'richText' 配置的兼容