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

dataLabels.style = {cursor: 'pointer'} doesn't work when useHTML flag is set to true #6794

Closed
kamilkulig opened this Issue Jun 5, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@kamilkulig
Contributor

kamilkulig commented Jun 5, 2017

Cursor should change to pointer while hovering labels:
https://jsfiddle.net/bobliberty/mesfy46g/

It doesn't work for activeDataLabelStyle within drilldown either:
http://jsfiddle.net/7uz4wvry/2/

@KacperMadej KacperMadej added the Bug label Jun 5, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Jun 5, 2017

Contributor

As a workaround it's possible to add another text property for SVGElement.prototype in textProps like:

Highcharts.SVGElement.prototype.textProps.push('cursor');

Demo: http://jsfiddle.net/7uz4wvry/3/

Contributor

KacperMadej commented Jun 5, 2017

As a workaround it's possible to add another text property for SVGElement.prototype in textProps like:

Highcharts.SVGElement.prototype.textProps.push('cursor');

Demo: http://jsfiddle.net/7uz4wvry/3/

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Jun 5, 2017

Contributor

Workaround:
Use css styles for datalabels' span

Demo:

Contributor

sebastianbochan commented Jun 5, 2017

Workaround:
Use css styles for datalabels' span

Demo:

@bobliberty7777

This comment has been minimized.

Show comment
Hide comment
@bobliberty7777

bobliberty7777 Jun 8, 2017

Unfortunately neither of those workarounds really work since it would apply the style to all data labels, not just the ones with drilldown data.

bobliberty7777 commented Jun 8, 2017

Unfortunately neither of those workarounds really work since it would apply the style to all data labels, not just the ones with drilldown data.

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Jun 9, 2017

Contributor

Could you update our demos with your code to introduce that it does not work properly?

Contributor

sebastianbochan commented Jun 9, 2017

Could you update our demos with your code to introduce that it does not work properly?

@kamilkulig kamilkulig self-assigned this Jun 27, 2018

kamilkulig added a commit that referenced this issue Jul 2, 2018

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