So basically your saying we should never set the minimum and maximum according to the data given otherwise it wont show properly. So in theory always such as -10% and +10% of the data given so we never get it clipped? Both on the x and y axis right?
var chart = new CanvasJS.Chart(“chartContainer1”, { title:{ text: “Basic Scatter Chart” },
axisX:{ minimum: -1, maximum: 50 }, data: [ { type: “scatter”, dataPoints: [ { y: 23, x: 0 }, { y: 54, x: 1 }, { y: 10, x: 2 }, { y: 42, x: 1 }, { y: 50, x: 50 }
] } ] }); chart.render();