Class AxisTickCalculator_Logarithmic
java.lang.Object
org.knowm.xchart.internal.chartpart.AxisTickCalculator_
org.knowm.xchart.internal.chartpart.AxisTickCalculator_Logarithmic
- All Implemented Interfaces:
AxisTickCalculator
This class encapsulates the logic to generate the axis tick mark and axis tick label data for
rendering the axis ticks for logarithmic axes
-
Field Summary
FieldsFields inherited from class AxisTickCalculator_
axisDirection, axisFormat, axisValues, maxValue, minValue, styler, tickLabels, tickLocations, workingSpace -
Constructor Summary
ConstructorsConstructorDescriptionAxisTickCalculator_Logarithmic(Axis.Direction axisDirection, double workingSpace, double minValue, double maxValue, AxesChartStyler styler) ConstructorAxisTickCalculator_Logarithmic(Axis.Direction axisDirection, double workingSpace, double minValue, double maxValue, AxesChartStyler styler, int yIndex) Constructor -
Method Summary
Methods inherited from class AxisTickCalculator_
areAllTickLabelsUnique, getAxisFormat, getFirstPosition, getTickLabels, getTickLocations, willLabelsFitInTickSpaceHint
-
Field Details
-
formatterLogNumber
-
-
Constructor Details
-
AxisTickCalculator_Logarithmic
public AxisTickCalculator_Logarithmic(Axis.Direction axisDirection, double workingSpace, double minValue, double maxValue, AxesChartStyler styler) Constructor- Parameters:
axisDirection-workingSpace-minValue-maxValue-styler-
-
AxisTickCalculator_Logarithmic
public AxisTickCalculator_Logarithmic(Axis.Direction axisDirection, double workingSpace, double minValue, double maxValue, AxesChartStyler styler, int yIndex) Constructor- Parameters:
axisDirection-workingSpace-minValue-maxValue-styler-yIndex-
-
-
Method Details
-
calculate
protected void calculate()- Overrides:
calculatein classAxisTickCalculator_
-