highcharts / highcharts

Highcharts JS, the JavaScript charting framework
https://www.highcharts.com
Other
11.86k stars 3.52k forks source link

Better fix for label and spacing #21181

Closed TorsteinHonsi closed 2 weeks ago

TorsteinHonsi commented 2 weeks ago

Better fix for #21172, got rid of the 5px constant offset, which was just a coincidence.

Drag the slider here and observe how the left-side axis labels never overflow the 10px spacing helper line: https://jsfiddle.net/highcharts/bgjad9nv/

highsoft-bot commented 2 weeks ago

File size comparison

Sizes for compiled+gzipped (bold) and compiled files. master candidate difference
highcharts.js 95.8 kB
270.2 kB
95.8 kB
270.2 kB
-4 B
-4 B
highstock.js 128.6 kB
371.9 kB
128.6 kB
371.9 kB
-4 B
-4 B
highmaps.js 121.7 kB
349.7 kB
121.7 kB
349.7 kB
-4 B
-4 B
highcharts-gantt.js 133.8 kB
385.9 kB
133.8 kB
385.9 kB
-4 B
-4 B
highsoft-bot commented 2 weeks ago

Visual test results - Differences found

Found 2 diffing sample(s). Please review the differences.