Skip to content
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

adding custom tooltips #131

Open
kouroshparsa opened this issue Sep 12, 2016 · 1 comment
Open

adding custom tooltips #131

kouroshparsa opened this issue Sep 12, 2016 · 1 comment

Comments

@kouroshparsa
Copy link

Hi. It would be nice to have custom tooltips passed in as a list.
For example:

chart.add_serie(y=[1, 2, 3], x=[1, 2, 3], tooltips=['A', 'B', 'C'])
@areski
Copy link
Owner

areski commented Oct 16, 2016

That's a great idea, but it would be great if you can offer a PR for that.
Ideally this should support what we currently have:

extra_serie = {"tooltip": {"y_start": "There is ", "y_end": " calls"}}

Maybe we could consider something like:

chart.add_serie(y=[1, 2, 3], x=[1, 2, 3], tooltips=['A: #xval', 'B: #xval', 'C: #xval'])

where #xval & #yval would replaced by their respective value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants