ecomfe / echarts-gl

Extension pack for Apache ECharts, providing globe visualization and 3D plots.
BSD 3-Clause "New" or "Revised" License
2.57k stars 844 forks source link

[Bug] Getting error when setOption() with linesGL series #480

Open TIGeMi opened 1 year ago

TIGeMi commented 1 year ago

I'm using linesGL series to drawn big lines data. Unfortunately, I get an error if setOption() when linesGL series is already available

Link to Minimal Reproduction

https://codepen.io/tigemi/pen/NWBRpvK

Steps to Reproduce

  1. Open the reproduction link
  2. Open the CONSOLE of the browser (not codepen.io console)
  3. Click on the Set title button on the UI preview

    Current Behavior

    There is an error image

And the title is also not set

Expected Behavior

The title must be set and there is no any error appears.

helgasoft commented 1 year ago

The bug is related to linesGL. When series type is replaced with "lines", there is no error. Demo Code Using series type linesGL with coordinateSystem other than geo is not recommended. linesGL is not even documented officially, there is just one example published.