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

Shared tooltip breaking solidgauge #5354

Closed
yohannbalawender opened this Issue May 30, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@yohannbalawender

yohannbalawender commented May 30, 2016

Expected behaviour

Show solidgauge tooltip when hovering its single point.
Coming from a bad usage, a "shared":true option is set for the tooltip.

Actual behaviour

No tooltip is shown.
JS error is thrown in .runPointActions().

Even if setting here a "shared" option has no sense, I guess Highcharts shouldn't break.

Live demo with steps to reproduce

https://jsfiddle.net/rpy438k6/

Affected browser(s)

Chrome - 50.0.2661.102 m

@yohannbalawender yohannbalawender changed the title from Tooltip not working on solidgauge to Shared tooltip breaking solidgauge May 30, 2016

@yohannbalawender

This comment has been minimized.

Show comment
Hide comment
@yohannbalawender

yohannbalawender May 30, 2016

Finally it's not just that easy.

I still want the "shared" option in tooltip in order to display tooltip each time my mouse enters in solidgauge chart.

yohannbalawender commented May 30, 2016

Finally it's not just that easy.

I still want the "shared" option in tooltip in order to display tooltip each time my mouse enters in solidgauge chart.

@jon-a-nygaard jon-a-nygaard added the Bug label May 31, 2016

@jon-a-nygaard jon-a-nygaard self-assigned this May 31, 2016

jon-a-nygaard added a commit that referenced this issue May 31, 2016

Fixed #5354, noSharedTooltip was undefined for Gauge and SolidGauge, …
…which caused errors when shared tooltip was enabled.
@jon-a-nygaard

This comment has been minimized.

Show comment
Hide comment
@jon-a-nygaard

jon-a-nygaard Jun 3, 2016

Collaborator

Hi @yohannbalawender

We are disabling the shared tooltip on solidgauge because as you said it makes no sense. But you can achieve what you want by doing something like this: https://jsfiddle.net/rpy438k6/2/

Collaborator

jon-a-nygaard commented Jun 3, 2016

Hi @yohannbalawender

We are disabling the shared tooltip on solidgauge because as you said it makes no sense. But you can achieve what you want by doing something like this: https://jsfiddle.net/rpy438k6/2/

@yohannbalawender

This comment has been minimized.

Show comment
Hide comment
@yohannbalawender

yohannbalawender Jun 3, 2016

Hi @jon-a-nygaard

Yes that was my first though, but finally I've found it convenient.

Anyway your solution seems to fit my needs.

Thanks !

yohannbalawender commented Jun 3, 2016

Hi @jon-a-nygaard

Yes that was my first though, but finally I've found it convenient.

Anyway your solution seems to fit my needs.

Thanks !

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