Skip to content

Instantly share code, notes, and snippets.

@shacheeswadia
Created Nov 21, 2021
Embed
What would you like to do?
// set x axis labels rotation
chart.xAxis().labels().rotation(90);
chart.xAxis().minorLabels().rotation(90);
chart
.xAxis()
.minorLabels()
.format(function () {
return data.x[Math.round(this.value)];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment