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

How to make multiple names, with multiple data in Spine chart. #196

Open
IvRRimum opened this issue Jun 26, 2015 · 1 comment
Open

How to make multiple names, with multiple data in Spine chart. #196

IvRRimum opened this issue Jun 26, 2015 · 1 comment

Comments

@IvRRimum
Copy link

So i Create Spine chart.

f.series(:name=>'Incorrect',:data=> [10, 2, 3, 1, 4] )

I want to add labels to each data.
Ex.
Now i see:
Incorrect: 10

What i want to see:
Incorrect: 10
My custom Data: 123
etc.

Thanks!

@righnatios
Copy link

Do you mean when you put your mouse over a point?

f.tooltip(:headerFormat => "<b>{series.name}: {point.x}<"br">My custom Data: 123", :pointFormat => "{point.x} [x-units] , {point.y} [y-units]")'

Is that what you're looking for?

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