industrial-optimization-group / desdeo-webui

A new web-based user interface for DESDEO
MIT License
4 stars 7 forks source link

Using `chart.getModel()` private method #29

Open edciriac opened 1 year ago

edciriac commented 1 year ago

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.

chocolateCakeShake commented 3 weeks ago

+1