A similar problem is visible in JENKINS-56264.
The grid currently is hard coded. Maybe it makes sense to increase the number of pixels (see trend-chart.js). Or maybe ECharts provides an option to automatically determine the size...