Class AxisTickCalculator_Logarithmic
- java.lang.Object
-
- org.knowm.xchart.internal.chartpart.AxisTickCalculator_
-
- org.knowm.xchart.internal.chartpart.AxisTickCalculator_Logarithmic
-
- All Implemented Interfaces:
AxisTickCalculator
class AxisTickCalculator_Logarithmic extends 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
Fields Modifier and Type Field Description private Formatter_LogNumberformatterLogNumber-
Fields inherited from class org.knowm.xchart.internal.chartpart.AxisTickCalculator_
axisDirection, axisFormat, axisValues, maxValue, minValue, styler, tickLabels, tickLocations, workingSpace
-
-
Constructor Summary
Constructors Constructor Description AxisTickCalculator_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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculate()-
Methods inherited from class org.knowm.xchart.internal.chartpart.AxisTickCalculator_
areAllTickLabelsUnique, getAxisFormat, getFirstPosition, getTickLabels, getTickLocations, willLabelsFitInTickSpaceHint
-
-
-
-
Field Detail
-
formatterLogNumber
private final Formatter_LogNumber formatterLogNumber
-
-
Constructor Detail
-
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 Detail
-
calculate
protected void calculate()
- Overrides:
calculatein classAxisTickCalculator_
-
-