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

globe bar3D - one with minimum altitude missing

Open helgasoft opened this issue 4 years ago • 0 comments

Example

Code Example. Testing environment was echarts 5.2.1, echarts-gl 2.0.8.

Problem:

bar3D data in globe can have multiple bars with coordinates [lng, lat, alt]. The bar with the minimum altitude(alt) does not display. However, if globe has also scatter3D series and one of the points has an altitude lower than the minimum bar altitude, then the minimal bar shows up.

Conclusion

Looks like globe evaluates all coordinates in the chart and if the minimal altitude coordinate belongs to a bar3D serie, then this particular bar will be ignored.

Also

Some other annoyances found:

  • scatter3D label will not show up if itemStyle color is 'transparent'. Maybe set a new label color attribute?
  • the important barSize attribute is missing from API docs.

image

helgasoft avatar Dec 08 '21 18:12 helgasoft