Class CustomLogarithmicAxis

java.lang.Object
org.jfree.chart.axis.Axis
org.jfree.chart.axis.ValueAxis
org.jfree.chart.axis.NumberAxis
org.jfree.chart.axis.LogarithmicAxis
org.esa.snap.rcp.statistics.CustomLogarithmicAxis
All Implemented Interfaces:
Serializable, Cloneable, org.jfree.chart.util.PublicCloneable

public class CustomLogarithmicAxis extends org.jfree.chart.axis.LogarithmicAxis
A logarithmic axis representation with improved scaling and labelling
See Also:
  • Field Summary

    Fields inherited from class org.jfree.chart.axis.LogarithmicAxis

    allowNegativesFlag, autoRangeNextLogFlag, expTickLabelsFlag, LOG10_VALUE, log10TickLabelsFlag, numberFormatterObj, SMALL_LOG_VALUE, smallLogFlag, strictValuesFlag

    Fields inherited from class org.jfree.chart.axis.NumberAxis

    DEFAULT_AUTO_RANGE_INCLUDES_ZERO, DEFAULT_AUTO_RANGE_STICKY_ZERO, DEFAULT_TICK_UNIT, DEFAULT_VERTICAL_TICK_LABELS

    Fields 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_MARGIN, DEFAULT_RANGE, DEFAULT_UPPER_MARGIN, MAXIMUM_TICK_COUNT

    Fields 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
    Constructor
    Description
    Creates a new axis.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List
    refreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, org.jfree.chart.ui.RectangleEdge edge)
     
    protected List
    refreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, org.jfree.chart.ui.RectangleEdge edge)
     

    Methods inherited from class org.jfree.chart.axis.LogarithmicAxis

    adjustedLog10, adjustedPow10, autoAdjustRange, computeLogCeil, computeLogFloor, getAllowNegativesFlag, getAutoRangeNextLogFlag, getExpTickLabelsFlag, getLog10TickLabelsFlag, getStrictValuesFlag, java2DToValue, makeTickLabel, makeTickLabel, setAllowNegativesFlag, setAutoRangeNextLogFlag, setExpTickLabelsFlag, setLog10TickLabelsFlag, setRange, setStrictValuesFlag, setupNumberFmtObj, setupSmallLogFlag, switchedLog10, switchedPow10, valueToJava2D, zoomRange

    Methods inherited from class org.jfree.chart.axis.NumberAxis

    calculateHighestVisibleTickValue, calculateLowestVisibleTickValue, calculateVisibleTickCount, clone, configure, createIntegerTickUnits, createIntegerTickUnits, createStandardTickUnits, createStandardTickUnits, draw, equals, estimateMaximumTickLabelHeight, estimateMaximumTickLabelWidth, getAutoRangeIncludesZero, getAutoRangeStickyZero, getMarkerBand, getNumberFormatOverride, getRangeType, getTickUnit, hashCode, refreshTicks, selectAutoTickUnit, selectHorizontalAutoTickUnit, selectVerticalAutoTickUnit, setAutoRangeIncludesZero, setAutoRangeStickyZero, setMarkerBand, setNumberFormatOverride, setRangeType, setTickUnit, setTickUnit

    Methods inherited from class org.jfree.chart.axis.ValueAxis

    calculateAnchorPoint, centerRange, drawAxisLine, drawTickMarksAndLabels, findMaximumTickLabelHeight, findMaximumTickLabelWidth, getAutoRangeMinimumSize, getAutoTickIndex, getDefaultAutoRange, getDownArrow, getFixedAutoRange, getLeftArrow, getLowerBound, getLowerMargin, getMinorTickCount, getRange, getRightArrow, getStandardTickUnits, getUpArrow, getUpperBound, getUpperMargin, isAutoRange, isAutoTickUnitSelection, isInverted, isNegativeArrowVisible, isPositiveArrowVisible, isVerticalTickLabels, lengthToJava2D, pan, reserveSpace, resizeRange, resizeRange, resizeRange2, setAutoRange, setAutoRange, setAutoRangeMinimumSize, setAutoRangeMinimumSize, setAutoTickIndex, setAutoTickUnitSelection, setAutoTickUnitSelection, setDefaultAutoRange, setDownArrow, setFixedAutoRange, setInverted, setLeftArrow, setLowerBound, setLowerMargin, setMinorTickCount, setNegativeArrowVisible, setPositiveArrowVisible, setRange, setRange, setRangeAboutValue, setRangeWithMargins, setRangeWithMargins, setRangeWithMargins, setRightArrow, setStandardTickUnits, setUpArrow, setUpperBound, setUpperMargin, setVerticalTickLabels

    Methods 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

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomLogarithmicAxis

      public CustomLogarithmicAxis(String label)
      Creates a new axis.
      Parameters:
      label - the axis label.
  • Method Details

    • refreshTicksHorizontal

      protected List refreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, org.jfree.chart.ui.RectangleEdge edge)
      Overrides:
      refreshTicksHorizontal in class org.jfree.chart.axis.LogarithmicAxis
    • refreshTicksVertical

      protected List refreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, org.jfree.chart.ui.RectangleEdge edge)
      Overrides:
      refreshTicksVertical in class org.jfree.chart.axis.LogarithmicAxis