You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using echarts-gl, (in nextjs), need to import dymamicly.
I use a single file with a chart-utility-component and imports this file dynamicly at runtime.
Inside this file, imports of echarts-gl are as the docs says.
import*asechartsfrom'echarts';import'echarts-gl';
...
exportdefaultfunctionEchart({mergeOptions, options, width, hegiht, onInit}){// here initialize the charts and handle all update chart logic}
The text was updated successfully, but these errors were encountered: