Closed lesh3000 closed 3 months ago
@lesh3000 Business Charts v6 introduced breaking changes. All parameters are available using context
only.
Please look at the documentation for the updated parameters: https://volkovlabs.io/plugins/volkovlabs-echarts-panel/options/#parameters.
Hi, I am implementing a simple Business chart panel ( line chart) with the code that is already provided in the plugin editor. Zoom works as expected however it throws the following error in console:
VM73:36 Uncaught ReferenceError: locationService is not defined at t.eval (eval at <anonymous> (module.js?_cache=6.1.0:1:1), <anonymous>:36:3) at e.trigger (EchartsPanel.styles.ts:7:15) at t.eval (EchartsPanel.styles.ts:7:15) at e.trigger (EchartsPanel.styles.ts:7:15) at t.Px (EchartsPanel.styles.ts:7:15) at t.dispatchAction (EchartsPanel.styles.ts:7:15) at t._dispatchZoomAction (EchartsPanel.styles.ts:7:15) at t._onBrush (EchartsPanel.styles.ts:7:15) at e.trigger (EchartsPanel.styles.ts:7:15) at lq (EchartsPanel.styles.ts:7:15)
Similarly when adding subscriber to data-hover event and hover over the data, nothing is printed on the console. Below is the code, that combines code provided by default with the following tutorial https://volkovlabs.io/plugins/volkovlabs-echarts-panel/eventbus/ :