You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/02/19 19:52:09 UTC
[GitHub] kevinw0123 edited a comment on issue #9898: The
series.label.formatter function passes in data from the wrong series.
kevinw0123 edited a comment on issue #9898: The series.label.formatter function passes in data from the wrong series.
URL: https://github.com/apache/incubator-echarts/issues/9898#issuecomment-464574950
The values returned from component.value are from the incorrect series.
The correct values should returned from the formatter in the left graph should be 11/11, 12/12, 13/13. However, what's being displayed is 11/11, 22/22, and 13/undefined. This is because the data values in the formatter's component object are coming from series[dataIndex], when it should be returning data from series[seriesIndex].
@Ovilia
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org