2024年4月23日星期二

echarts for React 使用3D柱状图时需要注意的点。

1、series.bar3D not exists 
You need to install ECharts GL first and then import it in your project.
 https://github.com/xieziyu/ngx-echarts/issues/139#issuecomment-421881917
 1) npm install echarts-gl --save 
 2) import 'echarts-gl'; 

2、zr.painter.isSingleCanvas is not a function 
3D 图表必须要使用 canvas 模式
 https://github.com/apache/echarts/issues/13295#issuecomment-1041061744

上面就是自己搜到的,后来发现echarts for react 关于第一点是有FAQ的,有问题第一时间应该先翻下FAQ.


 

没有评论:

发表评论

WorldTimeServer Clock

New York

搜索此博客