G2 icon indicating copy to clipboard operation
G2 copied to clipboard

📊 The concise and progressive visualization grammar.

Results 499 G2 issues
Sort by recently updated
recently updated
newest added

### Describe the bug / 问题描述 参考官网的双轴多折线条形图例子 ### Reproduction link / 复现链接 https://g2.antv.antgroup.com/zh/examples/general/dual#dual-axis-multi-line-bar 复现视频:https://www.youtube.com/watch?v=UesarY5CUeQ ### Steps to Reproduce the Bug or Issue / 重现步骤 1. 参考官网的双轴多折线条形图例子 2. 筛选去掉蓝色的waiting图例, 3. 再拖动Splitter分隔面板,进行resize后。...

waiting for maintainer

##### Checklist - [x] `npm test` passes - [x] commit message follows commit guidelines - [x] documents are updated ##### Description of change 之前文档中的手动挂载方法 ![image](https://github.com/user-attachments/assets/62d43bcb-9ea6-49c7-88c9-089a52117f16) appendChild 后实例内部 _container 没有更新,autoFit 那些功能都会失效,加一个标准...

### 问题描述 使用了G2统计图表中的面积图,添加滚动条后,最后一条数据不显示在图例中 ### 重现链接 https://g2.antv.antgroup.com/zh/examples/component/scrollbar/#scrollbar ### 重现步骤 1、进入页面,拖动滚动条到最后,查看最后一条数据; 2、对比代码中使用的数据的最后一条。 ### 预期行为 图例中的最后一条,是真实数据的倒数第二条 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] ###...

OSCP
waiting for maintainer

我尝试一番无法解决`render`后`slider`被重置。https://github.com/antvis/G2/discussions/6585 请求功能支持或者正确的使用方法。 ##重现链接 https://codesandbox.io/p/sandbox/g2-slider-scale-domain-fit-p9ph4x

OSCP
waiting for maintainer

### 问题描述 [官网上的例子中](https://g2.antv.antgroup.com/manual/core/data#%E6%A0%87%E8%AE%B0%E7%9A%84%E6%95%B0%E6%8D%AE) 在一个图例中可以同时画 line 和 rangex ,需要用同一个维护的 X通道数据来关联起两个图形,但是在 rangex 的legend 交互时会直接将 Line 的X通道数据也过滤掉,导致原本的图形渲染异常,正常交互应该是点击 range 的legend 只对自己部分有影响 。并且如果对同一个legend点击两次使其回归选中状态,图形依旧无法回到最初渲染的样子 ### 重现链接 https://g2.antv.antgroup.com/manual/core/data#%E6%A0%87%E8%AE%B0%E7%9A%84%E6%95%B0%E6%8D%AE ### 重现步骤 1. 进入页面 2. 点击 rangex 的 legend...

OSCP
waiting for maintainer

### 问题描述 ` "@antv/g2": "^5.2.7",` 折线图时间作为横坐标,长时间段的数据会很多,如何实现图表的缩放,看到了相关的文档,看链接是低版本的,虽然进入后展示的是5.x版本的文档: https://g2-v4.antv.vision/zh/docs/api/general/interaction#view-zoom https://g2-v3.antv.vision/zh/docs/api/interaction#zoom-%E7%BC%A9%E6%94%BE 在5.2.7版本中没有上述文档中相关的声明,无法使用。 看`brushFilter`能实现框选放大,也不知道如何反向缩小,也没找到相关的文档实现鼠标事件的缩放…… ### 重现链接 _No response_ ### 重现步骤 _No response_ ### 预期行为 通过鼠标实现图表的缩放 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native...

OSCP
feature 💡

# Q1 G2中如何实现 鼠标滚动缩小和放大效果。 类似X6中的滚轮缩放功能:https://x6.antv.vision/zh/docs/tutorial/basic/mousewheel # Q2 G2中如何实现 在折线图中增加垂直的标注尺,标注尺可以拖拽。分别支持单标尺和双标尺

v5

- **G2 Version**: 5.1.0 - **Platform**: mac - **Mini Showcase(like screenshots)**: ![image](https://github.com/antvis/G2/assets/24249578/4e39033a-e24d-4fe3-81ef-7ef8caf8eed3) - **CodePen Link**: 代码(直接粘贴在官网示例中跑): ```javascript import { Chart } from '@antv/g2'; const chart = new Chart({ container: 'container',...

v5

主要用于给某一些x的特定位置(比如max、min)添加标注。目前设置text要么是data要么是x y的百分比像素,无法做到对应的功能。

feature 💡

### Describe the bug / 问题描述 密度热力图开启tooltip时,数据不随鼠标移动更新; 比如下面这张图,无论鼠标怎么移动,tooltip始终显示第一个点的数据 ![Image](https://github.com/user-attachments/assets/01e70495-ef99-4192-a05c-1c34f25f50f2) ### Reproduction link / 复现链接 https://stackblitz.com/edit/react-uwwgnvtc ### Steps to Reproduce the Bug or Issue / 重现步骤 重现方式:官网的例子(https://g2.antv.antgroup.com/examples/general/heatmap/#heatmap )去掉heatmap的`.tooltip(false)`让提示显示,或者用上面StackBlitz的链接 ); ### Version...

bug 🐛