List of usage examples for org.jfree.chart.axis LogarithmicAxis setStrictValuesFlag
public void setStrictValuesFlag(boolean flgVal)
From source file:org.pentaho.plugin.jfreereport.reportcharts.XYChartExpression.java
protected void configureLogarithmicAxis(final XYPlot plot) { if (isLogarithmicAxis()) { final LogarithmicAxis logarithmicAxis; if (isHumanReadableLogarithmicFormat()) { plot.getRenderer().setBaseItemLabelGenerator(new LogXYItemLabelGenerator()); logarithmicAxis = new ScalingLogarithmicAxis(getRangeTitle()); logarithmicAxis.setStrictValuesFlag(false); } else {/*from www. ja v a 2s . c o m*/ logarithmicAxis = new LogarithmicAxis(getRangeTitle()); logarithmicAxis.setStrictValuesFlag(false); } plot.setRangeAxis(logarithmicAxis); } }
From source file:org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression.java
protected void configureLogarithmicAxis(final CategoryPlot plot) { if (isLogarithmicAxis()) { final LogarithmicAxis logarithmicAxis; if (isHumanReadableLogarithmicFormat()) { plot.getRenderer().setBaseItemLabelGenerator(new LogCategoryItemLabelGenerator()); logarithmicAxis = new ScalingLogarithmicAxis(getValueAxisLabel()); logarithmicAxis.setStrictValuesFlag(false); } else {//from w ww .j a va 2 s .c o m logarithmicAxis = new LogarithmicAxis(getValueAxisLabel()); logarithmicAxis.setStrictValuesFlag(false); } plot.setRangeAxis(logarithmicAxis); } }