getModel() is a private method and it can break in the future! https://github.com/apache/echarts/issues/16479. Using the method works fine, it just throws an error: "Property 'getModel' is private and only accessible within class 'ECharts'."
Workarounds might be possible. I started using the method because it was used in some of the examples in the ECharts own examples and provided simple and efficient solutions.
getModel() is a private method and it can break in the future! https://github.com/apache/echarts/issues/16479. Using the method works fine, it just throws an error: "Property 'getModel' is private and only accessible within class 'ECharts'."
Workarounds might be possible. I started using the method because it was used in some of the examples in the ECharts own examples and provided simple and efficient solutions.