Java org.jfree.chart.axis ValueAxis fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.axis ValueAxis fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.axis ValueAxis.

The text is from its open source code.

Subclass

org.jfree.chart.axis.ValueAxis has subclasses.
Click this link to see all its subclasses.

Field

booleanDEFAULT_AUTO_RANGE
The default auto-range value.
doubleDEFAULT_AUTO_RANGE_MINIMUM_SIZE
The default minimum auto range.
doubleDEFAULT_LOWER_MARGIN
The default value for the lower margin (0.05 = 5%).
doubleDEFAULT_UPPER_MARGIN
The default value for the upper margin (0.05 = 5%).
doubleDEFAULT_LOWER_BOUND
The default lower bound for the axis.
doubleDEFAULT_UPPER_BOUND
The default upper bound for the axis.
booleanDEFAULT_AUTO_TICK_UNIT_SELECTION
The default auto-tick-unit-selection value.
intMAXIMUM_TICK_COUNT
The maximum tick count.

Method

voidaddChangeListener(AxisChangeListener listener)
Registers an object for notification of changes to the axis.
voidcenterRange(double value)
Centers the axis range about the specified value and sends an AxisChangeEvent to all registered listeners.
Objectclone()
Returns a clone of the object.
voidconfigure()
Configures the axis to work with the current plot.
AxisStatedraw(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).
booleanequals(Object obj)
Tests the axis for equality with an arbitrary object.
doublegetFixedAutoRange()
Returns the fixed auto range.
StringgetLabel()
Returns the label for the axis.
FontgetLabelFont()
Returns the font for the axis label.
doublegetLowerBound()
Returns the lower bound of the axis range.
doublegetLowerMargin()
Returns the lower margin for the axis, expressed as a percentage of the axis range.
RangegetRange()
Returns the range for the axis.
TickUnitSourcegetStandardTickUnits()
Returns the source for obtaining standard tick units for the axis.
FontgetTickLabelFont()
Returns the font used for the tick labels (if showing).
doublegetUpperBound()
Returns the upper bound for the axis range.
doublegetUpperMargin()
Returns the upper margin for the axis, expressed as a percentage of the axis range.
booleanisAutoRange()
Returns the flag that controls whether or not the axis range is automatically adjusted to fit the data values.
booleanisInverted()
Returns a flag that controls the direction of values on the axis.
doublejava2DToValue(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.
doublelengthToJava2D(double length, Rectangle2D area, RectangleEdge edge)
Converts a length in data coordinates into the corresponding length in Java2D coordinates.
voidremoveChangeListener(AxisChangeListener listener)
Deregisters an object for notification of changes to the axis.
voidresizeRange(double percent)
Increases or decreases the axis range by the specified percentage about the central value and sends an AxisChangeEvent to all registered listeners.
voidresizeRange(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.
voidsetAutoRange(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.
voidsetAutoRangeMinimumSize(double size)
Sets the auto range minimum size and sends an AxisChangeEvent to all registered listeners.
voidsetAutoTickUnitSelection(boolean flag)
Sets a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units.
voidsetAxisLinePaint(Paint paint)
Sets the paint used to draw the axis line and sends an AxisChangeEvent to all registered listeners.
voidsetAxisLineStroke(Stroke stroke)
Sets the stroke used to draw the axis line and sends an AxisChangeEvent to all registered listeners.
voidsetAxisLineVisible(boolean visible)
Sets a flag that controls whether or not the axis line is visible and sends an AxisChangeEvent to all registered listeners.
voidsetDefaultAutoRange(Range range)
Sets the default auto range and sends an AxisChangeEvent to all registered listeners.
voidsetFixedAutoRange(double length)
Sets the fixed auto range for the axis.
voidsetFixedDimension(double dimension)
Sets the fixed dimension for the axis.
voidsetInverted(boolean flag)
Sets a flag that controls the direction of values on the axis, and notifies registered listeners that the axis has changed.
voidsetLabel(String label)
Sets the label for the axis and sends an AxisChangeEvent to all registered listeners.
voidsetLabelAngle(double angle)
Sets the angle for the label and sends an AxisChangeEvent to all registered listeners.
voidsetLabelFont(Font font)
Sets the font for the axis label and sends an AxisChangeEvent to all registered listeners.
voidsetLabelPaint(Paint paint)
Sets the paint used to draw the axis label and sends an AxisChangeEvent to all registered listeners.
voidsetLowerBound(double min)
Sets the lower bound for the axis range.
voidsetLowerMargin(double margin)
Sets the lower margin for the axis (as a percentage of the axis range) and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickCount(int count)
Sets the number of minor tick marks to display, and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickMarksVisible(boolean flag)
Sets the flag that indicates whether or not the minor tick marks are showing and sends an AxisChangeEvent to all registered listeners.
voidsetNegativeArrowVisible(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.
voidsetPlot(Plot plot)
Sets a reference to the plot that the axis is assigned to.
voidsetPositiveArrowVisible(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.
voidsetRange(double lower, double upper)
Sets the range for the axis and sends a change event to all registered listeners.
voidsetRange(Range range)
Sets the range for the axis and sends a change event to all registered listeners.
voidsetRange(Range range, boolean turnOffAutoRange, boolean notify)
Sets the range for the axis and, if requested, sends a change event to all registered listeners.
voidsetRangeWithMargins(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.
voidsetStandardTickUnits(TickUnitSource source)
Sets the source for obtaining standard tick units for the axis and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelFont(Font font)
Sets the font for the tick labels and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelPaint(Paint paint)
Sets the paint used to draw tick labels (if they are showing) and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelsVisible(boolean flag)
Sets the flag that determines whether or not the tick labels are visible and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkInsideLength(float length)
Sets the inside length of the tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkPaint(Paint paint)
Sets the paint used to draw tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkStroke(Stroke stroke)
Sets the stroke used to draw tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarksVisible(boolean flag)
Sets the flag that indicates whether or not the tick marks are showing and sends an AxisChangeEvent to all registered listeners.
voidsetUpperBound(double max)
Sets the upper bound for the axis range, and sends an AxisChangeEvent to all registered listeners.
voidsetUpperMargin(double margin)
Sets the upper margin for the axis (as a percentage of the axis range) and sends an AxisChangeEvent to all registered listeners.
voidsetVerticalTickLabels(boolean flag)
Sets the flag that controls whether the tick labels are displayed vertically (that is, rotated 90 degrees from horizontal).
voidsetVisible(boolean flag)
Sets a flag that controls whether or not the axis is visible and sends an AxisChangeEvent to all registered listeners.
doublevalueToJava2D(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.
voidzoomRange(double lowerPercent, double upperPercent)
Zooms in on the current range.