G2
G2 copied to clipboard
📊 The concise and progressive visualization grammar.
### 问题描述 5.0中的饼图选中时的缓冲动效没有了,4.0还有着 ### 重现链接 _No response_ ### 重现步骤 _No response_ ### 预期行为 _No response_ ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari,...
### 问题描述 import { Chart } from '@antv/g2'; const data = [ { name: 'London', 月份: 'Jan.', 月均降雨量: 18.9 }, { name: 'London', 月份: 'Feb.', 月均降雨量: 28.8 }, { name:...
### 问题描述 https://github.com/antvis/G2/issues/6065  想要每条线不同颜色,现在 markerStroke 只能设置一种颜色 ### 重现链接 _No response_ ### 重现步骤 _No response_ ### 预期行为 _No response_ ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] -...
### 问题描述 import { Chart } from '@antv/g2'; const data = [ { year: '1951 年', sales: 38 }, { year: '1952 年', sales: 52 }, { year: '1956 年',...
### 问题描述 import { Chart } from '@antv/g2'; const data = [ { year: '1991', value: 3 }, { year: '1992', value: 4 }, { year: '1993', value: 3.5 },...
### 问题描述   我看了一下所有的列子 貌似都没有这样, 最接近的就是散点图了 。能否通过散点图去更改成以上这种图形呢? ### 重现链接 _No response_ ### 重现步骤 _No response_ ### 预期行为 _No response_ ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...]...
### 问题描述 我在使用饼图时,通过点击事件触发数据变化后,扇区的颜色发生变化,但是我发现当我点击的时候,扇区会有动画,但我并不希望拥有这个动画,我尝试用一下的方式进行关闭,但似乎不起作用: ``` typescript const draw = async (list: typeof chartDataList) => { const chart = new Chart({ container: "chart", width: 300, height: 240, }); chart.coordinate({ type: "theta", innerRadius:...
### AntV Open Source Contribution Plan(可选) - [X] 我同意将这个 Issue 参与 OSCP 计划 ### Issue 类型 专家任务 ### 任务介绍 对于数组数据,可以使用 line、interval、point 等 mark 去可视化,对于完成度百分比数据,我们可以使用 gauge、liquid 等去可视化。 而对于更高维度的数据可视化,有几种方案: - [x] 增加...
### 问题描述 官网给的折线图例子https://g2.antv.antgroup.com/examples/general/line/#curved 使用 elementHighlightByColor 不起作用 ### 重现链接 _No response_ ### 重现步骤 import { Chart } from '@antv/g2'; const data = [ { month: 'Jan', city: 'Tokyo', temperature: 7 },...
柱状图添加背景色
### 问题描述 ### 重现链接 _No response_ ### 重现步骤 如图所示,带背景色的柱状图,并且坐标轴的背景色也有,这种用 g2 能实现吗 ### 预期行为 _No response_ ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari,...