Joel Alan

Results 191 comments of Joel Alan
trafficstars

It will be supported in the near future. If the flowchart is not used, you can use sub packages to pass it first,like: `@ant-design/plots` `@ant-design/graphs`.

> It will be supported in the near future. If the flowchart is not used, you can use sub packages to pass it first,like: `@ant-design/plots` `@ant-design/graphs`. 没有使用到流程图的项目,不会存在antd版本问题,直接安装对应的子包即可,官网示例已经明确指出了对应子包,不需要安装主包`@ant-design/charts`

If only statistical charts are used, it can be upgraded to V2,We will gradually improve other types of charts(flowchart、graphs and so on)

有一些变动,如果图表用的不多的话,建议升级

Refer to [custom x label](https://ant-design-charts.antgroup.com/examples/statistics/column/#label-text) ```ts const { chart } = chartRef.current; const { document } = chart.getContext().canvas; const elements = document.getElementsByClassName('element'); const bbox = elements[0].getBBox(); // elements[index]; ```

这算是一个BUG,后续修复掉,比较推荐使用onReady获取图表实例哈