Justin-ZS commented on PR #21405:
URL: https://github.com/apache/echarts/pull/21405#issuecomment-3630137607
Thanks for the PR!
This use case can be solved with the existing `visualMap.dimension` config.
A few concerns:
1. **Increases coupling between visualMap and series**
- visualMap is designed as an independent component that specifies the
target dimension via `dimension` option
- This change makes visualMap implicitly depend on series encode config
2. **`encode.value` is not a general encode**
- `value` is used only by specific charts (pie, funnel, heatmap, map)
- Line/bar charts use `encode.x/y`, they don't have `encode.value`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]