Example usage for Java org.jfree.chart.axis ValueAxis fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | DEFAULT_AUTO_RANGE The default auto-range value. |
double | DEFAULT_AUTO_RANGE_MINIMUM_SIZE The default minimum auto range. |
double | DEFAULT_LOWER_MARGIN The default value for the lower margin (0.05 = 5%). |
double | DEFAULT_UPPER_MARGIN The default value for the upper margin (0.05 = 5%). |
double | DEFAULT_LOWER_BOUND The default lower bound for the axis. |
double | DEFAULT_UPPER_BOUND The default upper bound for the axis. |
boolean | DEFAULT_AUTO_TICK_UNIT_SELECTION The default auto-tick-unit-selection value. |
int | MAXIMUM_TICK_COUNT The maximum tick count. |
void | addChangeListener(AxisChangeListener listener) Registers an object for notification of changes to the axis. |
void | centerRange(double value) Centers the axis range about the specified value and sends an AxisChangeEvent to all registered listeners. |
Object | clone() Returns a clone of the object. |
void | configure() Configures the axis to work with the current plot. |
AxisState | draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer). |
boolean | equals(Object obj) Tests the axis for equality with an arbitrary object. |
double | getFixedAutoRange() Returns the fixed auto range. |
String | getLabel() Returns the label for the axis. |
Font | getLabelFont() Returns the font for the axis label. |
double | getLowerBound() Returns the lower bound of the axis range. |
double | getLowerMargin() Returns the lower margin for the axis, expressed as a percentage of the axis range. |
Range | getRange() Returns the range for the axis. |
TickUnitSource | getStandardTickUnits() Returns the source for obtaining standard tick units for the axis. |
Font | getTickLabelFont() Returns the font used for the tick labels (if showing). |
double | getUpperBound() Returns the upper bound for the axis range. |
double | getUpperMargin() Returns the upper margin for the axis, expressed as a percentage of the axis range. |
boolean | isAutoRange() Returns the flag that controls whether or not the axis range is automatically adjusted to fit the data values. |
boolean | isInverted() Returns a flag that controls the direction of values on the axis. |
double | java2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge) Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea. |
double | lengthToJava2D(double length, Rectangle2D area, RectangleEdge edge) Converts a length in data coordinates into the corresponding length in Java2D coordinates. |
void | removeChangeListener(AxisChangeListener listener) Deregisters an object for notification of changes to the axis. |
void | resizeRange(double percent) Increases or decreases the axis range by the specified percentage about the central value and sends an AxisChangeEvent to all registered listeners. |
void | resizeRange(double percent, double anchorValue) Increases or decreases the axis range by the specified percentage about the specified anchor value and sends an AxisChangeEvent to all registered listeners. |
void | setAutoRange(boolean auto) Sets a flag that determines whether or not the axis range is automatically adjusted to fit the data, and notifies registered listeners that the axis has been modified. |
void | setAutoRangeMinimumSize(double size) Sets the auto range minimum size and sends an AxisChangeEvent to all registered listeners. |
void | setAutoTickUnitSelection(boolean flag) Sets a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units. |
void | setAxisLinePaint(Paint paint) Sets the paint used to draw the axis line and sends an AxisChangeEvent to all registered listeners. |
void | setAxisLineStroke(Stroke stroke) Sets the stroke used to draw the axis line and sends an AxisChangeEvent to all registered listeners. |
void | setAxisLineVisible(boolean visible) Sets a flag that controls whether or not the axis line is visible and sends an AxisChangeEvent to all registered listeners. |
void | setDefaultAutoRange(Range range) Sets the default auto range and sends an AxisChangeEvent to all registered listeners. |
void | setFixedAutoRange(double length) Sets the fixed auto range for the axis. |
void | setFixedDimension(double dimension) Sets the fixed dimension for the axis. |
void | setInverted(boolean flag) Sets a flag that controls the direction of values on the axis, and notifies registered listeners that the axis has changed. |
void | setLabel(String label) Sets the label for the axis and sends an AxisChangeEvent to all registered listeners. |
void | setLabelAngle(double angle) Sets the angle for the label and sends an AxisChangeEvent to all registered listeners. |
void | setLabelFont(Font font) Sets the font for the axis label and sends an AxisChangeEvent to all registered listeners. |
void | setLabelPaint(Paint paint) Sets the paint used to draw the axis label and sends an AxisChangeEvent to all registered listeners. |
void | setLowerBound(double min) Sets the lower bound for the axis range. |
void | setLowerMargin(double margin) Sets the lower margin for the axis (as a percentage of the axis range) and sends an AxisChangeEvent to all registered listeners. |
void | setMinorTickCount(int count) Sets the number of minor tick marks to display, and sends an AxisChangeEvent to all registered listeners. |
void | setMinorTickMarksVisible(boolean flag) Sets the flag that indicates whether or not the minor tick marks are showing and sends an AxisChangeEvent to all registered listeners. |
void | setNegativeArrowVisible(boolean visible) Sets a flag that controls whether or not the axis lines has an arrow drawn that points in the negative direction for the axis, and sends an AxisChangeEvent to all registered listeners. |
void | setPlot(Plot plot) Sets a reference to the plot that the axis is assigned to. |
void | setPositiveArrowVisible(boolean visible) Sets a flag that controls whether or not the axis lines has an arrow drawn that points in the positive direction for the axis, and sends an AxisChangeEvent to all registered listeners. |
void | setRange(double lower, double upper) Sets the range for the axis and sends a change event to all registered listeners. |
void | setRange(Range range) Sets the range for the axis and sends a change event to all registered listeners. |
void | setRange(Range range, boolean turnOffAutoRange, boolean notify) Sets the range for the axis and, if requested, sends a change event to all registered listeners. |
void | setRangeWithMargins(double lower, double upper) Sets the axis range (after first adding the current margins to the range) and sends an AxisChangeEvent to all registered listeners. |
void | setStandardTickUnits(TickUnitSource source) Sets the source for obtaining standard tick units for the axis and sends an AxisChangeEvent to all registered listeners. |
void | setTickLabelFont(Font font) Sets the font for the tick labels and sends an AxisChangeEvent to all registered listeners. |
void | setTickLabelPaint(Paint paint) Sets the paint used to draw tick labels (if they are showing) and sends an AxisChangeEvent to all registered listeners. |
void | setTickLabelsVisible(boolean flag) Sets the flag that determines whether or not the tick labels are visible and sends an AxisChangeEvent to all registered listeners. |
void | setTickMarkInsideLength(float length) Sets the inside length of the tick marks and sends an AxisChangeEvent to all registered listeners. |
void | setTickMarkPaint(Paint paint) Sets the paint used to draw tick marks and sends an AxisChangeEvent to all registered listeners. |
void | setTickMarkStroke(Stroke stroke) Sets the stroke used to draw tick marks and sends an AxisChangeEvent to all registered listeners. |
void | setTickMarksVisible(boolean flag) Sets the flag that indicates whether or not the tick marks are showing and sends an AxisChangeEvent to all registered listeners. |
void | setUpperBound(double max) Sets the upper bound for the axis range, and sends an AxisChangeEvent to all registered listeners. |
void | setUpperMargin(double margin) Sets the upper margin for the axis (as a percentage of the axis range) and sends an AxisChangeEvent to all registered listeners. |
void | setVerticalTickLabels(boolean flag) Sets the flag that controls whether the tick labels are displayed vertically (that is, rotated 90 degrees from horizontal). |
void | setVisible(boolean flag) Sets a flag that controls whether or not the axis is visible and sends an AxisChangeEvent to all registered listeners. |
double | valueToJava2D(double value, Rectangle2D area, RectangleEdge edge) Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea. |
void | zoomRange(double lowerPercent, double upperPercent) Zooms in on the current range. |