title: Highcharts - How to start x axis from an arbitrary value
body: <p>I am using [highcharts][1] to plot a graph between a range of values from data base. I want by X Axis values to start from the user input.</p>
  
  <p>For example, if the user wants the values between range 50 and 100, I want my x axis to start from 50.</p>
  
  <p>The range would be of variable size. The size of the data is large so I can't do something like getting all and using min and max for display.</p>
  
  <p>Thanks in advance.</p>
  
  <p>This is my chart object. I have two input fields for user that I use to query the database and return rows in between.</p>
  
  <p>I use multiple type of graphs. The problem is that I have no idea on how to define the start of X axis as 50 if I am getting data from database between 50 and 100. It shows 50 values but start them from 0 upto 50.</p>
  
  <p>I tried min 10 and so. That do start from that value but skips the first 10 or so values.</p>
  
  <p>The input field has id 'lower' and 'upper'.</p>
  
  <hr>
  
  <pre><code>var options = {
        chart: {
          renderTo: ctn.attr('id'),
          type: $('#graph_type option:selected').val(),
          zoomType: 'x'
        },
        title: {
          text: $('#graph_title').val()
        },
        subtitle: {
            text: "Graph - " + (graph_no + 1)
        },
        xAxis: {
  
          title: {
             text: $('#x_label').val()
          }
        },
        yAxis: {
          title: {
            text: $('#y_label').val()
          }
        },
  
        credits: {
          enabled: false
        },
        series: []
      };
  </code></pre>