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

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

Projects

None yet

2 participants

@onemenny

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
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/

@onemenny

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
Collaborator

Okay, fair point!

Simplified demo

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

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

Regression since c6eeb80

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