blacklabel / grouped_categories

Grouped categories plugin for Highcharts by Black Label
http://blacklabel.github.io/grouped_categories/
Other
92 stars 74 forks source link

X-axis label alignment is off #210

Open hbingal opened 1 year ago

hbingal commented 1 year ago

For Highcharts 10.3.3, the following jsfiddle below is as expected https://jsfiddle.net/BlackLabel/n562x7yh/

Once I refer to Highcharts 11.1.0, the x-asix label alignment is off with the same of data and jQuery version. https://jsfiddle.net/BlackLabel/c58btgzx/

Please let me know how to make the chart looks near identical (color and line thickness do not matter).

Thanks, Bing

raf18seb commented 1 year ago

Hi @hbingal,

Thanks for reporting the issue!

Probably regression of https://github.com/blacklabel/grouped_categories/pull/202 (or related)

@jedrzejruta would you like to take a look if it's related?

jedrzejruta commented 1 year ago

@raf18seb it looks like the regression is related to #206, where in Highchars v11 axes labels.distance has changed to 15.

Workaround: Explicitly set labels.distance to 5 on x-axis. https://jsfiddle.net/BlackLabel/9g1sk587/

guidd commented 9 months ago

Would be great though if the new version would take it into account ;)