Class CategoryAxisBase
Provides a Linear, Category Axis, capable of rendering double, int, short, byte, long ticks ticks on the X-Axis of a com.scichart.charting.visuals.SciChartSurface See Also: CategoryAxisBase, DateAxis, CategoryDateAxis, IAxis, NumericAxis, AxisBase
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class CategoryAxisBase extends AxisBase<Double>
Constructors
CategoryAxisBase(IRange<Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Creates a new instance of CategoryAxisBase class
Declaration
protected CategoryAxisBase(IRange<Double> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Parameters
Type | Name | Description |
---|---|---|
IRange<Double> | defaultNonZeroRange | The default non zero IRange instance for this axis |
IAxisModifierSurface | axisModifierSurface | The IAxisModifierSurface for this this axis |
Methods
createCoordinateCalculator(AxisParams axisParams, double visibleRangeMin, double visibleRangeMax)
Creates new ICoordinateCalculator based on axis params values and double representation of visible range
Declaration
protected coordinateCalculators.ICoordinateCalculator createCoordinateCalculator(AxisParams axisParams, double visibleRangeMin, double visibleRangeMax)
Parameters
Type | Name | Description |
---|---|---|
AxisParams | axisParams | |
double | visibleRangeMin | |
double | visibleRangeMax |
Returns
Type | Description |
---|---|
coordinateCalculators.ICoordinateCalculator |
Overrides
fromDouble(double doubleValue)
Converts specified double representation of value to data value used by axis
Declaration
protected final Comparable fromDouble(double doubleValue)
Parameters
Type | Name | Description |
---|---|---|
double | doubleValue |
Returns
Type | Description |
---|---|
Comparable |
Overrides
getType()
Gets base value type for current axis
Declaration
protected Class<Double> getType()
Returns
Type | Description |
---|---|
Class<Double> |
Overrides
getVisibleRangeType()
Gets the type of visible range which is supported by current axis
Declaration
protected Class<? extends IRange<Double>> getVisibleRangeType()
Returns
Type | Description |
---|---|
Class<? extends com.scichart.data.model.IRange<Double>> |
Overrides
toDouble(Comparable dataValue)
Converts specified data value to its double representation
Declaration
protected double toDouble(Comparable dataValue)
Parameters
Type | Name | Description |
---|---|---|
Comparable | dataValue |
Returns
Type | Description |
---|---|
double |