ant-design-charts
ant-design-charts copied to clipboard
A React Chart Library
Here is the code `import { Pie } from "@ant-design/plots"; import React, { useEffect, useState } from "react"; const UpdatePieChart = ({ PlotMaps = {}, chartData = [], pieChartIndex =...
### 🐛 bug 描述 [详细地描述 bug,让大家都能理解] 当给双轴图设置slider后, 如果删除slider属性,slider仍然会展示,必须显式设置slider=false才能隐藏。 1.x 版本/ 2.x版本都有该问题。 ### 📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题] 第一步, 设置config如下 ```js const config = { data: [], // ...其他属性 slider: { start: 0,...
通过tab控制不同图表展示,当其中一个tab选项的图表,y轴的值都是0,则0位于y轴轴线中间,我还不能设置scale限制定义域的值,因为最大值不同,单独设置最小值domainMin:0,不能生效。所以有什么其他办法解决嘛?
### 🥰 需求描述 [详细地描述需求,让大家都能理解] 当使用point对折线图的坐标点的样式进行设置时,如果在要渲染的数据里面的数据里面存在null值,tooltip显示混乱 ### 🧐 解决方案 [如果你有解决方案,在这里清晰地阐述] 目前是重写了tooltip里面的显示内容 ### 🚑 其他信息 [如截图等其他信息可以贴在这里]  ### 效果 
分组条形图,当鼠标hover时报错: tooltip.js:364 Uncaught TypeError: Cannot read properties of undefined (reading 'visible') at getTooltipItemsByFindData (tooltip.js:364:1) at findItemsFromView (tooltip.js:425:1) at push../node_modules/@antv/g2plot/node_modules/@antv/g2/esm/chart/controller/tooltip.js.Tooltip.findItemsFromView (tooltip.js:650:1) at push../node_modules/@antv/g2plot/node_modules/@antv/g2/esm/chart/controller/tooltip.js.Tooltip.getTooltipItems (tooltip.js:259:1) at push../node_modules/@antv/g2plot/node_modules/@antv/g2/esm/chart/controller/tooltip.js.Tooltip.showTooltip (tooltip.js:62:1) at push../node_modules/@antv/g2plot/node_modules/@antv/g2/esm/chart/view.js.View.showTooltip (view.js:856:1) at...
### 🐛 bug 描述 [详细地描述 bug,让大家都能理解] I am using the scatterplot from ant-design/charts. when i checked my terminal it said there are 18 high severity vulnerability issues related to the...
### 🐛 bug 描述 [详细地描述 bug,让大家都能理解]  ### 📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题] ``` const config: LineConfig = { data: { value: data, transform: [ { type: "fold", fields: fields, key: "category",...
### 🐛 bug 描述 [详细地描述 bug,让大家都能理解] ### 📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题] ### 🏞 期望结果 [描述你原本期望看到的结果] https://ant-design-charts-next.antgroup.com/zh/examples/statistics/column/#column ### 💻 复现代码 [提供可复现的代码,仓库,或线上示例] ### © 版本信息 - ant-design-charts 版本: [e.g. 0.9.0] - 浏览器环境 -...
### 🐛 bug 描述 [详细地描述 bug,让大家都能理解] 多轴图动态改变 children 时 tooltip 显示混乱 ### 📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题] 先点击按钮 1 ,此时 tooltip 中 people 会显示自定义的展示,没有问题  再点击按钮 2 ,tooltip 中 waiting 也会变成 people...
### 🧐 问题描述 [详细地描述问题,让大家都能理解] In Line Chart, how to create gaps (do not join the point) or change line color to 0 if the current point and the previous point...