echarts-gl icon indicating copy to clipboard operation
echarts-gl copied to clipboard

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

Open TIGeMi opened this issue 2 years ago • 1 comments

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.

TIGeMi avatar Jan 08 '23 09:01 TIGeMi

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.

helgasoft avatar Jan 11 '23 00:01 helgasoft