GetemJay commented on issue #19944:
URL: https://github.com/apache/echarts/issues/19944#issuecomment-2119532667
> when visualMap dimension/pieces are by X-axis, vertical or near-vertical
lines will have two colors (start, end). These two colors blend depending on
_pieces_ rules. Your upper chart example shows the blending effect more
pronounced because many lines overlap. This is not a bug, since the API
documentation does not elaborate on **how** blending is done and what
**results** should be expected. A suggestion for alternative coloring by Y-axis:
>
> ```
> dimension: 1, pieces: [{ gte: 0, lt: 110 }, { gte: 110 }],
> inRange: { color: ['red', 'green'] },
> ```
>
>

My requirement is to draw three lines: upper limit, lower limit, and actual
value. When the actual value exceeds the upper or lower limit, the line needs
to turn red. However, the upper and lower limits for each point are different,
so it seems impossible to differentiate colors using the Y-axis.
--
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]