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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

booleanDEFAULT_AUTO_RANGE_INCLUDES_ZERO
The default value for the autoRangeIncludesZero flag.
booleanDEFAULT_AUTO_RANGE_STICKY_ZERO
The default value for the autoRangeStickyZero flag.
NumberTickUnitDEFAULT_TICK_UNIT
The default tick unit.

Constructor

NumberAxis(String label)
Constructs a number axis, using default values where necessary.
NumberAxis()
Default constructor.

Method

voidaddChangeListener(AxisChangeListener listener)
Registers an object for notification of changes to the axis.
Objectclone()
Returns a clone of the axis.
voidconfigure()
Configures the axis to work with the specified plot.
TickUnitSourcecreateIntegerTickUnits()
Returns a collection of tick units for integer values.
TickUnitSourcecreateIntegerTickUnits(Locale locale)
Returns a collection of tick units for integer values.
TickUnitSourcecreateStandardTickUnits()
Creates the standard tick units.
TickUnitSourcecreateStandardTickUnits(Locale locale)
Creates a collection of standard tick units.
booleanequals(Object obj)
Tests the axis for equality with an arbitrary object.
booleangetAutoRangeIncludesZero()
Returns the flag that indicates whether or not the automatic axis range (if indeed it is determined automatically) is forced to include zero.
StringgetLabel()
Returns the label for the axis.
FontgetLabelFont()
Returns the font for the axis label.
PaintgetLabelPaint()
Returns the color/shade used to draw the axis label.
doublegetLowerBound()
Returns the lower bound of the axis range.
NumberFormatgetNumberFormatOverride()
Returns the number format override.
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).
PaintgetTickLabelPaint()
Returns the color/shade used for the tick labels.
NumberTickUnitgetTickUnit()
Returns the tick unit for the axis.
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.
booleanisAutoTickUnitSelection()
Returns a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units.
booleanisVisible()
Returns true if the axis is visible, and false otherwise.
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.
voidsetAttributedLabel(String label)
Sets the attributed label for the axis 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.
voidsetAutoRangeIncludesZero(boolean flag)
Sets the flag that indicates whether or not the axis range, if automatically calculated, is forced to include zero.
voidsetAutoRangeMinimumSize(double size)
Sets the auto range minimum size and sends an AxisChangeEvent to all registered listeners.
voidsetAutoRangeStickyZero(boolean flag)
Sets a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.
voidsetAutoTickUnitSelection(boolean flag)
Sets a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units.
voidsetAutoTickUnitSelection(boolean flag, boolean notify)
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.
voidsetAxisLineVisible(boolean visible)
Sets a flag that controls whether or not the axis line is visible 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.
voidsetLabelInsets(RectangleInsets insets)
Sets the insets 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.
voidsetMinorTickMarkInsideLength(float length)
Sets the inside length of the minor tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickMarkOutsideLength(float length)
Sets the outside length of the minor tick marks 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.
voidsetNumberFormatOverride(NumberFormat formatter)
Sets the number format override.
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.
voidsetRangeType(RangeType rangeType)
Sets the axis range type.
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.
voidsetRangeWithMargins(Range range, boolean turnOffAutoRange, boolean notify)
Sets the range for the axis after first adding the current margins to the range and, if requested, sends an AxisChangeEvent to all registered listeners.
voidsetRangeWithMargins(Range range)
Sets the range for the axis (after first adding the current margins to the specified 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.
voidsetTickLabelInsets(RectangleInsets insets)
Sets the insets 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.
voidsetTickMarkOutsideLength(float length)
Sets the outside 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.
voidsetTickUnit(NumberTickUnit unit)
Sets the tick unit for the axis and sends an AxisChangeEvent to all registered listeners.
voidsetTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect)
Sets the tick unit for the axis and, if requested, 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.