G2
G2 copied to clipboard
📊 The concise and progressive visualization grammar.
 类似于这样,设置x轴从y=1交叉,不是和y=0交叉
# 设置autoFit:true,容器尺寸发生改变触发自适应后tooltip异常 * 版本:4.2.7 * 引入方式:浏览器本地引用 * 问题:设置autoFit:true,容器尺寸发生改变触发自适应后tooltip不能正确的触发 ``` html ``` ``` javascript const demoChart = new MyChart("demoChart") demoChart.changeData([{ x: '9.13', y: 1000 }]) class MyChart { constructor(domId) { this.domId...
##### Checklist - [ ] `npm test` passes - [ ] benchmarks are included - [ ] commit message follows commit guidelines - [ ] documents are updated ##### Description...
```js import {register} from '@antv/g2'; register('interaction.custom', /** .. **/); ```
```js const chart = new G2.Chart(); chart.changeSize({ width: 500, height: 500, paddingLeft: 10}) ```
```js const chart = G2.Chart(); const context = chart.context(); context.views[0]; // {scales, coordinate} ```
请问regionFilter可以设置填充渐变色吗, 设置style填充不生效
- [x] I have searched the [issues](https://github.com/antvis/g2/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? 减少了多折线(复用Y轴)图中无用的空白区域面积,例如下图的橙色部分  ### What does...
##### Checklist - [x] `npm test` passes - [x] benchmarks are included - [x] commit message follows commit guidelines - [x] documents are updated ##### Description of change 目前 mask...
##### Checklist - [ ] `npm test` passes - [ ] benchmarks are included - [ ] commit message follows commit guidelines - [ ] documents are updated ##### Description...