Example usage for Java org.jfree.chart.axis DateAxis fields, constructors, methods, implement or subclass
The text is from its open source code.
DateRange | DEFAULT_DATE_RANGE The default axis range. |
DateTickUnit | DEFAULT_DATE_TICK_UNIT The default date tick unit. |
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. |
double | dateToJava2D(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. |
DateFormat | getDateFormatOverride() Returns the date format override. |
double | getLowerBound() Returns the lower bound of the axis range. |
Date | getMaximumDate() Returns the latest date visible on the axis. |
Date | getMinimumDate() Returns the earliest date visible on the axis. |
Range | getRange() Returns the range for the axis. |
boolean | isAutoTickUnitSelection() Returns a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units. |
double | java2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge) Translates a Java2D coordinate into the corresponding data value. |
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 | setAutoTickUnitSelection(boolean flag) Sets a flag indicating whether or not the tick unit is automatically selected from a range of standard tick units. |
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 | setDateFormatOverride(DateFormat formatter) Sets the date format override and sends an AxisChangeEvent to all registered listeners. |
void | setFixedAutoRange(double length) Sets the fixed auto range 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 | 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 | setMaximumDate(Date maximumDate) Sets the maximum date visible on the axis and sends an AxisChangeEvent to all registered listeners. |
void | setMinimumDate(Date date) Sets the minimum date visible on the axis 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 | setMinorTickMarkOutsideLength(float length) Sets the outside length of the minor tick marks 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 | 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(Date lower, Date upper) Sets the axis range and sends an AxisChangeEvent to all registered listeners. |
void | setRange(double lower, double upper) Sets the axis range and sends an AxisChangeEvent to all registered listeners. |
void | setRange(Range range) Sets the upper and lower bounds for the axis 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 | setTickLabelInsets(RectangleInsets insets) Sets the insets 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 | setTickMarkPosition(DateTickMarkPosition position) Sets the tick mark position (start, middle or end of the time period) 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 | setTickUnit(DateTickUnit unit) Sets the tick unit for the axis. |
void | setTickUnit(DateTickUnit unit, boolean notify, boolean turnOffAutoSelection) Sets the tick unit attribute and, if requested, sends an AxisChangeEvent to all registered listeners. |
void | setTimeline(Timeline timeline) Sets the underlying timeline to use for this axis. |
void | setTimeZone(TimeZone zone) Sets the time zone for the axis 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) Translates the data value to the display coordinates (Java 2D User Space) of the chart. |