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 2021/10/22 07:13:14 UTC

[GitHub] [echarts] 3v3ryb0dy opened a new issue #15924: Exclude series from axis tooltip

3v3ryb0dy opened a new issue #15924:
URL: https://github.com/apache/echarts/issues/15924


   ### What problem does this feature solve?
   Currently, there is no way to add a line series only as an indicator. A series should be configurable to trigger an axis tooltip or not.
   I provided a simple example using two line series, the step line should not trigger the axis tooltip, but it does.
   
   <img width="465" alt="Bildschirmfoto 2021-10-22 um 09 12 01" src="https://user-images.githubusercontent.com/50074834/138409712-b9a54bf9-a458-485e-b783-4ef8c7e7d0df.png">
   
   [![Edit tender-mclaren-o5zdq](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/tender-mclaren-o5zdq?fontsize=14&hidenavigation=1&theme=dark)
   
   ### What does the proposed API look like?
   Provide an `excludeFromAxisTooltip` option to e.g. series-line, so we can decide which series should trigger the tooltip.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


[GitHub] [echarts] Ovilia commented on issue #15924: Exclude series from axis tooltip

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #15924:
URL: https://github.com/apache/echarts/issues/15924#issuecomment-949422690


   You can try to set `tooltip.formatter` so that if the seriesId is 0, render nothing.


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


[GitHub] [echarts] 3v3ryb0dy commented on issue #15924: Exclude series from axis tooltip

Posted by GitBox <gi...@apache.org>.
3v3ryb0dy commented on issue #15924:
URL: https://github.com/apache/echarts/issues/15924#issuecomment-949432407


   Thanks @Ovilia.
   This works in the very simple example I provided.
   However, I have a more complex chart, where I show information in the tooltip based on the x value and y value of the first series.
   This is what it looks like:
   <img width="651" alt="Bildschirmfoto 2021-10-22 um 11 04 31" src="https://user-images.githubusercontent.com/50074834/138426744-5aaca05b-3154-4c87-b1ea-f8ae585213f4.png">
   
   If I hover over the step line series, I have no choice but to render nothing (since I don't want to show the value of the stepline in the tooltip) which results in tooltip flickering.
   <img width="461" alt="Bildschirmfoto 2021-10-22 um 11 04 39" src="https://user-images.githubusercontent.com/50074834/138426716-10079781-99b6-4ba1-a761-32411b93dd3a.png">
   


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


[GitHub] [echarts] Ovilia commented on issue #15924: Exclude series from axis tooltip

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #15924:
URL: https://github.com/apache/echarts/issues/15924#issuecomment-950696631


   I will see what we can do when fixing axisPoint snapping #7651, which is planed to be done before the end of this year.


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #15924: Exclude series from axis tooltip

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15924:
URL: https://github.com/apache/echarts/issues/15924#issuecomment-949352943


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe to our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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