Comments (3)
It seems that you are missing dependency here. You can use the codegen helper to see if you have imported all required modules from echarts
: https://vue-echarts.dev/#codegen
In this case you should import { LabelLayout } from "echarts/features"
.
from vue-echarts.
Hi @Justineo, thanks for the prompt reply. I can confirm it is now working properly after adding import { LabelLayout } from "echarts/features"
. The codegen helper is really useful, sorry for not discovering it early. The interesting part (and the enhancement) is no errors or warnings during developments, everything was working perfectly. Probably adding an error message can help a lot of developers when facing the same kind of problem.
e.g. when PieChart was not imported, we can see error messages in dev
[ECharts] Series pie is used but not imported.
import { PieChart } from 'echarts/charts';
echarts.use([PieChart]);
from vue-echarts.
That is beyond the scope of this project. Please make a feature request to apache/echarts
itself.
from vue-echarts.
Related Issues (20)
- Selecting an area HOT 1
- MarkLine and MarkArea HOT 1
- Zoom stops working when using graphic elements HOT 3
- Remove vue demi HOT 1
- From version 6.6.1 setting min-height make the chart disappear (height=0px) HOT 1
- Default ESM package HOT 2
- chart not appear when using option dataset with source HOT 1
- Native listener on VueEcharts Component does not work in Vue 3 HOT 4
- Types broken with ECharts 5.5 + Vue 3 + `moduleResolution: bundler` HOT 1
- useAutoresize throttle switch to requestAnimationFrame method HOT 3
- Nuxt 3 Module HOT 1
- Renderer 'undefined' is not imported. Please import it first. HOT 3
- autoresize prop doesn't work as expected from 6.6.1 HOT 1
- 官网的import code generator似乎不能正常工作了 HOT 1
- h5手机端支持吗?手机端的点击事件能触发吗? HOT 1
- Unable to compile after the introduction of vitepress, error: ERR-REQUIRE-ESM
- 路由缓存时,切换Tab页面,ECHARTS不显示 HOT 3
- 安装报错 Invalid response body while trying to fetch https://registry.npmjs.org/resize-detector: Cannot read properties of null (reading 'pickAlgorithm') HOT 2
- `npm i echarts vue-echarts` not installing for vue3 project HOT 1
- build后无法获取echart的实例 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-echarts.