title: jQPlot force static minimum and maximum values on y-axis
body: <p>I am using <a href="http://www.jqplot.com/" rel="noreferrer">jqPlot</a> to render bar charts and am looking to do something fairly straightforward but I am not sure if the library has an option for this.</p>
  
  <p>I have graphs like this one, where the maximum possible value on the y-axis can be 42.</p>
  
  <p><img src="https://i.stack.imgur.com/5VmG6.png" alt="enter image description here"></p>
  
  <p>Let's say if for one case, my highest value for any of the bars is 14, then the graph will be rendered to show only up to 14.</p>
  
  <p><img src="https://i.stack.imgur.com/F2qE7.png" alt="enter image description here"></p>
  
  <p>However, I want it so that, IN ALL CASES, I can see that upper threshold of 42 rendered.</p>
  
  <p>This is what I have for now:</p>
  
  <pre><code>var plot3 = $.jqplot('chart3', [line1], {
              animate: true,
              animateReplot: true, 
              seriesDefaults: {renderer: $.jqplot.BarRenderer},
              series:[{
                pointLabels:{
                    show: true,
                    labels:[depression, anxiety, stress]
                },
                rendererOptions: {
                    animation: {
                      speed: 3500
                    },
                    barWidth: 50,
                    barPadding: -15,
                    barMargin: 0,
                    varyBarColor : true,
                    highlightMouseOver: false
                }
              }],
              axes: {
                xaxis: {
                    renderer:$.jqplot.CategoryAxisRenderer
                }
              },
              canvasOverlay: {
                show: true,
                objects: [{
                    horizontalLine: {
                        y: 42,
                        lineWidth: 3,
                        color: 'rgb(255,0,0)',
                        shadow: true,
                        xOffset: 0
                    }
                }]
              }
            });
          plot3.replot( { resetAxes: true } );
  </code></pre>