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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

DateRangeDEFAULT_DATE_RANGE
The default axis range.
DateTickUnitDEFAULT_DATE_TICK_UNIT
The default date tick unit.

Constructor

DateAxis(String label)
Creates a date axis with the specified label.
DateAxis()
Creates a date axis with no label.
DateAxis(String label, TimeZone zone, Locale locale)
Creates a date axis.
DateAxis(String label, TimeZone zone)
Creates a date axis.

Method

doubledateToJava2D(Date date, Rectangle2D area, RectangleEdge edge)
Translates a date to Java2D coordinates, based on the range displayed by this axis for the specified data area.
DateFormatgetDateFormatOverride()
Returns the date format override.
doublegetLowerBound()
Returns the lower bound of the axis range.
DategetMaximumDate()
Returns the latest date visible on the axis.
DategetMinimumDate()
Returns the earliest date visible on the axis.
RangegetRange()
Returns the range for the axis.
booleanisAutoTickUnitSelection()
Returns a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units.
doublejava2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge)
Translates a Java2D coordinate into the corresponding data value.
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.
voidsetAutoTickUnitSelection(boolean flag)
Sets a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units.
voidsetAxisLineVisible(boolean visible)
Sets a flag that controls whether or not the axis line is visible and sends an AxisChangeEvent to all registered listeners.
voidsetDateFormatOverride(DateFormat formatter)
Sets the date format override and sends an AxisChangeEvent to all registered listeners.
voidsetFixedAutoRange(double length)
Sets the fixed auto range 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.
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.
voidsetMaximumDate(Date maximumDate)
Sets the maximum date visible on the axis and sends an AxisChangeEvent to all registered listeners.
voidsetMinimumDate(Date date)
Sets the minimum date visible on the axis 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.
voidsetMinorTickMarkOutsideLength(float length)
Sets the outside length of the minor tick marks 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.
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(Date lower, Date upper)
Sets the axis range and sends an AxisChangeEvent to all registered listeners.
voidsetRange(double lower, double upper)
Sets the axis range and sends an AxisChangeEvent to all registered listeners.
voidsetRange(Range range)
Sets the upper and lower bounds for the axis 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.
voidsetTickMarkPosition(DateTickMarkPosition position)
Sets the tick mark position (start, middle or end of the time period) 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(DateTickUnit unit)
Sets the tick unit for the axis.
voidsetTickUnit(DateTickUnit unit, boolean notify, boolean turnOffAutoSelection)
Sets the tick unit attribute and, if requested, sends an AxisChangeEvent to all registered listeners.
voidsetTimeline(Timeline timeline)
Sets the underlying timeline to use for this axis.
voidsetTimeZone(TimeZone zone)
Sets the time zone for the axis 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)
Translates the data value to the display coordinates (Java 2D User Space) of the chart.