Comments (3)
In ECharts it ensures you can get the instance from the element with which you initialize the it. But in the Vue component version we actually don't expose where we would initialize the chart instance and that's kind of the point of encapsulating a component: hiding the implementation details.
from vue-echarts.
We do not really guarantee the DOM structure of the chart component. It’s not a part of the public API. You can access the chart instance via the chart
property on the component ref.
from vue-echarts.
What do you mean by "It’s not a part of the public API"?
I can see that it's a function from echart API:
https://echarts.apache.org/en/api.html#echarts.getInstanceByDom
from vue-echarts.
Related Issues (20)
- 路由缓存时,切换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
- 使用dataset数据集多纬度时报错 HOT 3
- vue-echart instance doesn't have off function HOT 5
- 示例代码显示内容空白 HOT 3
- use autoresize;When the height changes decreases, the chart is abnormal HOT 2
- v6.7.3 Hides Charts HOT 2
- 1
- geoMap中的@click事件绑定无效 HOT 1
- ChartProps autoresize type incorrect
- nuxt3 vue-echarts从6.7.3升级到7.0.1报错 HOT 5
- Click event not fired in TS project
- 类型错误 HOT 3
- 支持数据集吗? HOT 1
- 从6.7.3升级到7.0.1后,页面原有样式将被限制加载 HOT 14
- 异步 `registerMap` 报错 HOT 3
- Vue provide(THEME_KEY, 'dark') 會打亂CSS HOT 8
- ChartProps autoresize type still incorrect
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.