You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/07/15 02:48:31 UTC

[GitHub] [echarts] Ovilia commented on issue #17378: [Bug] stack 中传入 custom group,stack 失效

Ovilia commented on issue #17378:
URL: https://github.com/apache/echarts/issues/17378#issuecomment-1185112938

   如果是自定义系列,需要由 `renderItem` 控制绘制什么、绘制的前后关系(`z2`),不能使用 `stackStrategy` 因为这是折线图、柱状图的属性。你这里指的”绘制顺序“指的是堆叠的上下关系还是绘制的先后顺序?后者的话是通过 `renderItem` 返回的图形的 `z2` 决定的,不过需要注意的是, 如果是多个自定义系列,会优先判断系列的 `z` 来决定绘制顺序,只有系列的 `z` 相同的情况下,才由图形的 `z2` 决定。例子太复杂了没细看,如果需要的话,请提供最小可复现代码。


-- 
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

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