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

Data label rendering has offset since 4.2.7 on bar charts #5899

Closed
onemenny opened this Issue Oct 27, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@onemenny

onemenny commented Oct 27, 2016

See this fiddle (highcharts 4.2.4): http://jsfiddle.net/onemenny/2bf9cL7a/
When you minimize the chart width (increase the code pane size), the data labels of the bar charts will stand still

Upgrade to highcharts 4.2.7/5.0.2, now when you minimize the labels disappear, it seems that the wrapping div inline style of "left" keeps changing instead of sticking to 0.

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Oct 27, 2016

Collaborator

There is some custom HTML inside the labels so I'm not sure where the problem arises. Why not use the raw text directly? http://jsfiddle.net/highcharts/2bf9cL7a/2/

Collaborator

TorsteinHonsi commented Oct 27, 2016

There is some custom HTML inside the labels so I'm not sure where the problem arises. Why not use the raw text directly? http://jsfiddle.net/highcharts/2bf9cL7a/2/

@onemenny

This comment has been minimized.

Show comment
Hide comment
@onemenny

onemenny Oct 27, 2016

Not wanting to sound rude - I don't want raw text (one reason is css ellipsis) I need HTML.
The HTML is very plain, just a div with some simple styles

onemenny commented Oct 27, 2016

Not wanting to sound rude - I don't want raw text (one reason is css ellipsis) I need HTML.
The HTML is very plain, just a div with some simple styles

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Oct 28, 2016

Collaborator

Okay, fair point!

Simplified demo

http://jsfiddle.net/highcharts/2bf9cL7a/5/

Collaborator

TorsteinHonsi commented Oct 28, 2016

Okay, fair point!

Simplified demo

http://jsfiddle.net/highcharts/2bf9cL7a/5/

@TorsteinHonsi TorsteinHonsi added Regression and removed Undecided labels Oct 28, 2016

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Oct 28, 2016

Collaborator

Regression since c6eeb80

Collaborator

TorsteinHonsi commented Oct 28, 2016

Regression since c6eeb80

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