Home forums Using CanvasJS How to hide the secondary graph but not the axis label Reply To: How to hide the secondary graph but not the axis label

#22413

Vishwas R
Keymaster

@satyabratacanvas,

The issue is happening as minimum and maximum are being updated on hiding and unhiding the dataSeries. I would suggest you to update viewportMinimum and viewportMaximum instead as shown in this updated jsfiddle.


Vishwas R
Team CanvasJS