title: CanvasJS - Chart with Multiple Y Axis and Hide Unhide Data Series on Legend Click
body: <p>I use <a href="http://canvasjs.com/" rel="nofollow noreferrer" title="CanvasJS">CanvasJS</a> in my project and it worked fine until now.</p>
  
  <p>Here is the two examples from the web site :</p>
  
  <p><a href="http://canvasjs.com/docs/charts/how-to/multiple-y-axis/" rel="nofollow noreferrer" title="Multiple Y Axis">Multiple Y Axis</a></p>
  
  <p><a href="http://canvasjs.com/docs/charts/how-to/hide-unhide-data-series-chart-legend-click/" rel="nofollow noreferrer" title="Hide Unhide Data Series on Legend Click">Hide Unhide Data Series on Legend Click</a></p>
  
  <p>Since i added the option <code>maximum:</code> to my Axis Y2-2 var the scale no longer hides by clicking in the legend !</p>
  
  <p>Here is my <a href="http://jsfiddle.net/onrfpxa5/" rel="nofollow noreferrer" title="jsfiddle example">JSfiddle live example</a></p>
  
  <p>Can you help me to debug it please ?</p>