Class CustomDateTimeAxis
java.lang.Object
org.jfree.chart.axis.Axis
org.jfree.chart.axis.ValueAxis
org.jfree.chart.axis.NumberAxis
com.jfreechartextensions.axistransformations.ExtendedNumberAxis
com.illumon.iris.db.plot.builders.jfreechart.axis.CustomNumberAxis
com.illumon.iris.db.plot.builders.jfreechart.axis.CustomDateTimeAxis
- All Implemented Interfaces:
Serializable,Cloneable,org.jfree.util.PublicCloneable
DateTime axis that shows tick values that are in data range.
- See Also:
-
Field Summary
Fields inherited from class com.jfreechartextensions.axistransformations.ExtendedNumberAxis
SMALLEST_DOUBLEFields inherited from class org.jfree.chart.axis.NumberAxis
DEFAULT_AUTO_RANGE_INCLUDES_ZERO, DEFAULT_AUTO_RANGE_STICKY_ZERO, DEFAULT_TICK_UNIT, DEFAULT_VERTICAL_TICK_LABELSFields inherited from class org.jfree.chart.axis.ValueAxis
DEFAULT_AUTO_RANGE, DEFAULT_AUTO_RANGE_MINIMUM_SIZE, DEFAULT_AUTO_TICK_UNIT_SELECTION, DEFAULT_INVERTED, DEFAULT_LOWER_BOUND, DEFAULT_LOWER_MARGIN, DEFAULT_RANGE, DEFAULT_UPPER_BOUND, DEFAULT_UPPER_MARGIN, MAXIMUM_TICK_COUNTFields inherited from class org.jfree.chart.axis.Axis
DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, DEFAULT_AXIS_VISIBLE, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMinorTicks(Collection<org.jfree.chart.axis.NumberTick> result, int nMinorTicks, double majorTickMin, double majorTickMax, org.jfree.ui.RectangleEdge edge) protected doubleprotected doubleprotected intprotected booleanisTickLabelVisible(double tickValue, boolean isMajor) protected com.jfreechartextensions.axistransformations.BasicAxisTransformrefreshTicks(Graphics2D g2, org.jfree.chart.axis.AxisState state, Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge) Methods inherited from class com.illumon.iris.db.plot.builders.jfreechart.axis.CustomNumberAxis
redrawTicksMethods inherited from class com.jfreechartextensions.axistransformations.ExtendedNumberAxis
autoAdjustRange, createTick, formatLabel, getDataRange, getMajorTicks, getMaxRange, getMinRange, getRange, getTransform, java2DToValue, lengthToJava2D, okToPlotTick, selectAutoTickUnit, selectHorizontalAutoTickUnit, selectVerticalAutoTickUnit, setLowerBound, setMajorTicks, setTickLabelAngle, setTransform, setUpperBound, valueToJava2D, zoomRangeMethods inherited from class org.jfree.chart.axis.NumberAxis
clone, configure, createIntegerTickUnits, createIntegerTickUnits, createStandardTickUnits, createStandardTickUnits, draw, equals, estimateMaximumTickLabelHeight, estimateMaximumTickLabelWidth, getAutoRangeIncludesZero, getAutoRangeStickyZero, getMarkerBand, getNumberFormatOverride, getRangeType, getTickUnit, hashCode, refreshTicksHorizontal, refreshTicksVertical, setAutoRangeIncludesZero, setAutoRangeStickyZero, setMarkerBand, setNumberFormatOverride, setRangeType, setTickUnit, setTickUnitMethods inherited from class org.jfree.chart.axis.ValueAxis
calculateAnchorPoint, centerRange, drawAxisLine, drawTickMarksAndLabels, findMaximumTickLabelHeight, findMaximumTickLabelWidth, getAutoRangeMinimumSize, getAutoTickIndex, getDefaultAutoRange, getDownArrow, getFixedAutoRange, getLeftArrow, getLowerBound, getLowerMargin, getMinorTickCount, getRightArrow, getStandardTickUnits, getUpArrow, getUpperBound, getUpperMargin, isAutoRange, isAutoTickUnitSelection, isInverted, isNegativeArrowVisible, isPositiveArrowVisible, isVerticalTickLabels, pan, reserveSpace, resizeRange, resizeRange, resizeRange2, setAutoRange, setAutoRange, setAutoRangeMinimumSize, setAutoRangeMinimumSize, setAutoTickIndex, setAutoTickUnitSelection, setAutoTickUnitSelection, setDefaultAutoRange, setDownArrow, setFixedAutoRange, setInverted, setLeftArrow, setLowerMargin, setMinorTickCount, setNegativeArrowVisible, setPositiveArrowVisible, setRange, setRange, setRange, setRangeAboutValue, setRangeWithMargins, setRangeWithMargins, setRangeWithMargins, setRightArrow, setStandardTickUnits, setUpArrow, setUpperMargin, setVerticalTickLabelsMethods inherited from class org.jfree.chart.axis.Axis
addChangeListener, createAndAddEntity, createAttributedLabel, drawAttributedLabel, drawLabel, fireChangeEvent, getAttributedLabel, getAxisLinePaint, getAxisLineStroke, getFixedDimension, getLabel, getLabelAngle, getLabelEnclosure, getLabelFont, getLabelInsets, getLabelLocation, getLabelPaint, getMinorTickMarkInsideLength, getMinorTickMarkOutsideLength, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, hasListener, isAxisLineVisible, isMinorTickMarksVisible, isTickLabelsVisible, isTickMarksVisible, isVisible, labelAnchorH, labelAnchorV, labelLocationX, labelLocationY, notifyListeners, removeChangeListener, setAttributedLabel, setAttributedLabel, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setFixedDimension, setLabel, setLabelAngle, setLabelFont, setLabelInsets, setLabelInsets, setLabelLocation, setLabelPaint, setMinorTickMarkInsideLength, setMinorTickMarkOutsideLength, setMinorTickMarksVisible, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisible
-
Constructor Details
-
CustomDateTimeAxis
public CustomDateTimeAxis()
-
-
Method Details
-
newNullAxisTransform
protected com.jfreechartextensions.axistransformations.BasicAxisTransform newNullAxisTransform()- Overrides:
newNullAxisTransformin classCustomNumberAxis
-
isTickLabelVisible
protected boolean isTickLabelVisible(double tickValue, boolean isMajor) - Overrides:
isTickLabelVisiblein classcom.jfreechartextensions.axistransformations.ExtendedNumberAxis
-
refreshTicks
public List refreshTicks(Graphics2D g2, org.jfree.chart.axis.AxisState state, Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge) - Overrides:
refreshTicksin classcom.jfreechartextensions.axistransformations.ExtendedNumberAxis
-
addMinorTicks
protected void addMinorTicks(Collection<org.jfree.chart.axis.NumberTick> result, int nMinorTicks, double majorTickMin, double majorTickMax, org.jfree.ui.RectangleEdge edge) - Overrides:
addMinorTicksin classcom.jfreechartextensions.axistransformations.ExtendedNumberAxis
-
calculateLowestVisibleTickValue
protected double calculateLowestVisibleTickValue()- Overrides:
calculateLowestVisibleTickValuein classorg.jfree.chart.axis.NumberAxis
-
calculateHighestVisibleTickValue
protected double calculateHighestVisibleTickValue()- Overrides:
calculateHighestVisibleTickValuein classorg.jfree.chart.axis.NumberAxis
-
calculateVisibleTickCount
protected int calculateVisibleTickCount()- Overrides:
calculateVisibleTickCountin classorg.jfree.chart.axis.NumberAxis
-