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/05/30 13:57:23 UTC
[GitHub] [incubator-echarts] 100pah commented on issue #9618: Tooltip
formatter for multiple y-axis
100pah commented on issue #9618: Tooltip formatter for multiple y-axis
URL: https://github.com/apache/incubator-echarts/issues/9618#issuecomment-497338682
In your case, the `tooltip.trigger` is `'axis'` and it is based on x axis.
So there is only axis info in the `tooltip.formatter: function (params) { ... }` callback.
But when you travel the `params`, you can get the series info.
each series is either using the left y axis or using the right y axis,
then the y axis can be determined.
----------------------------------------------------------------
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.
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