title: Setting Range for X,Y Axis-JfreeChart
body: <p>Any suggestions over how to set Range for X-Axis and Y-Axis.</p>
  
  <p>My "X-Axis" Range is from "0.00 to 1.00" with difference of "0.05". I mean 0.00 0.05 0.10 0.15.....0.90 0.95 1.00</p>
  
  <p>My "Y-Axis" Range is from "0.0 to 1.0" with difference of "0.1". I mean 0.0 0.1 0.2 0.3 0.4.........0.9 1.0</p>
  
  <p>I tried doing this Way, but it's not reflecting on the Graph; I don't know how to apply it to  <code>ChartFactory.createScatterPlot()</code>.</p>
  
  <pre><code>final NumberAxis domainAxis = new NumberAxis("X-Axis");
  domainAxis.setRange(0.00,1.00);
  domainAxis.setTickUnit(new NumberTickUnit(0.1));
  final NumberAxis rangeAxis = new NumberAxis("Y-Axis");
  rangeAxis.setRange(0.0,1.0);
  rangeAxis.setTickUnit(new NumberTickUnit(0.05));
  
  public  JPanel createDemoPanel() {
      XYDataset dataset1 = samplexydataset2();
      JFreeChart jfreechart = ChartFactory.createScatterPlot("Scatter Plot Demo",
          "X", "Y",dataset1, PlotOrientation.VERTICAL, true, true, false);
  }
  </code></pre>
  
  <p>Any help regarding this would be great.</p>