You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2025/12/19 23:21:11 UTC
[I] problems with Contour Chart [echarts-custom-series]
helgasoft opened a new issue, #16:
URL: https://github.com/apache/echarts-custom-series/issues/16
Contour chart is [defined](https://github.com/apache/echarts-custom-series/tree/main/custom-series/contour) as _"connecting points of equal value (e.g., elevation or intensity) with contour lines"_.
But it looks like it's in fact a **density** (also called heatmap) chart. Library _d3_ is used to draw areas around adjacent points.
[This example](https://codepen.io/helgasoft/pen/bNVjEVy) shows several issues with current code:
* chart is not positioned correctly on X and Y axes, or axes are incorrectly drawn
* encode is defective for axes and tooltip
* dataZoom has problems with all _filterMode_ options
* tooltip shows the same value everywhere, it is the last value from data
* ```appendData``` does not work, maybe in general for all custom types (?)
Contours were discussed in [#13909](https://github.com/apache/echarts/issues/13909), and I said that _"contours are already feasible in ECharts with series type 'line' or 'custom-polygon'"_.
Maybe just rename this one from "contour" to "density chart" ?
PS: the heatmap chart with ```coordinateSystem:'geo'``` displays similar density effect - [example](https://codepen.io/helgasoft/pen/GRGqZeR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org