Example usage for org.jfree.chart.axis LogarithmicAxis setAllowNegativesFlag

List of usage examples for org.jfree.chart.axis LogarithmicAxis setAllowNegativesFlag

Introduction

In this page you can find the example usage for org.jfree.chart.axis LogarithmicAxis setAllowNegativesFlag.

Prototype

public void setAllowNegativesFlag(boolean flgVal) 

Source Link

Document

Sets the 'allowNegativesFlag' flag; true to allow negative values in data, false to be able to plot positive values arbitrarily close to zero.

Usage

From source file:gda.plots.SimplePlot.java

private void initLogAxis(LogarithmicAxis axis, boolean autoRange, NumberFormat formatter) {
    initAxis(axis, autoRange, formatter);
    axis.setAllowNegativesFlag(true);
}