New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to define multiple tooltips? #5262

Closed
jarben opened this Issue Mar 13, 2017 · 4 comments

Comments

Projects
None yet
6 participants
@jarben
Contributor

jarben commented Mar 13, 2017

Version: 3.4.0

I have a chart with multiple series types:
image

The issue is that I'd like to use "axis" type of tooltip for the bottom line chart and "item" type for the top bar chart. Is there any way to do this? I've tried using [] in tooltips but that doesn't seem to work. Using formatter function works to customize tooltip content, however, it doesn't allow to customize tooltip type such as axis, item, shadow, line,..

Thanks!

@kener

This comment has been minimized.

Show comment
Hide comment
@kener

kener Mar 17, 2017

Contributor

Is it possible to use 2 charts to make it ? 2 charts up and down, and connect them together to share the same legend event ?@pissang @100pah
http://echarts.baidu.com/api.html#echarts.connect

Contributor

kener commented Mar 17, 2017

Is it possible to use 2 charts to make it ? 2 charts up and down, and connect them together to share the same legend event ?@pissang @100pah
http://echarts.baidu.com/api.html#echarts.connect

@jarben

This comment has been minimized.

Show comment
Hide comment
@jarben

jarben Mar 17, 2017

Contributor

Good point @kener! Also made me do a bit of experimentation and then I noticed in one of the examples that it is actually possible to define different tooltips for different series! That solves my issue, it would be great if this is part of docs:)

Contributor

jarben commented Mar 17, 2017

Good point @kener! Also made me do a bit of experimentation and then I noticed in one of the examples that it is actually possible to define different tooltips for different series! That solves my issue, it would be great if this is part of docs:)

@100pah

This comment has been minimized.

Show comment
Hide comment
Member

100pah commented Apr 5, 2017

@Ovilia Ovilia closed this Apr 6, 2017

@lyz19890927

This comment has been minimized.

Show comment
Hide comment
@lyz19890927

lyz19890927 Nov 29, 2017

I tried a lot, found tooltip in series only works when the global tooltip object is set(even if empty).

See http://gallery.echartsjs.com/editor.html?c=xr1ZLORolM&v=1

I tried a lot, found tooltip in series only works when the global tooltip object is set(even if empty).

See http://gallery.echartsjs.com/editor.html?c=xr1ZLORolM&v=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment