Skip to content

Instantly share code, notes, and snippets.

Created Nov 21, 2021
What would you like to do?
// create surface chart
var chart = anychart.surface();
// enable markers and set data for them
// set x axis labels format
.format(function () {
return data.x[Math.round(this.value)];
// set x axis scale maximum
chart.xScale().maximum(data.x.length - 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment