Home › Forums › Chart Support › Chart compressed when add more chart lines › Reply To: Chart compressed when add more chart lines
@ragu1991nathan,
By default, axis reserves some space around it which can be removed by setting margin: -5. You can also achieve the same by returning an empty string in labelFormatter as shown below –
margin: -5
labelFormatter: function(e) { return ""; }
Please take a look at this updated JSFiddle for a working example with complete code.
___________ Indranil Singh Deo Team CanvasJS