title: How to set range axis values as 0 -100 for StackedbarChart using JFreeChart?
body: <p>I need to develop a Stacked bar chart usinfg JFreeChart that shows values in Percentage and Number. For percentage mode when I am setting range, the values in the range axis changes but the chart gets squished. Please guide me with your valuable suggestions.
  Thanks in advance</p>
  
  <p>The code </p>
  
  <pre><code>CategoryPlot plot = chart.getCategoryPlot();
  NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
  rangeAxis.setRange(0, 100);
  </code></pre>