Volker Voß
You can prevent the chart to reserve space for the hidden axes by setting negative values to the axis margin as shown in this below code snippet
axisY: {
margin: -5
},
Also take a look at this updatedJSFiddle for complete code.
—
Ranjitha R
Team CanvasJS