Class DateAxis
Namespace:
Assembly: .dll
Syntax
public class DateAxis extends AxisBase<Date> implements IDateAxis
Constructors
DateAxis(Context context)
Creates a new instance of DateAxis class
Declaration
public DateAxis(Context context)
Parameters
Type |
Name |
Description |
android.content.Context |
context |
The context of application
|
DateAxis(IRange<Date> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Creates a new instance of DateAxis class
Declaration
protected DateAxis(IRange<Date> defaultNonZeroRange, IAxisModifierSurface axisModifierSurface)
Parameters
Fields
DEFAULT_SUB_DAY_TEXT_FORMATTING
Declaration
public static final String DEFAULT_SUB_DAY_TEXT_FORMATTING
Field Value
DEFAULT_TEXT_FORMATTING
Declaration
public static final String DEFAULT_TEXT_FORMATTING
Field Value
subDayTextFormattingProperty
Declaration
protected final SmartProperty<String> subDayTextFormattingProperty
Field Value
Methods
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
Overrides
getSubDayTextFormatting()
Gets the Text Formatting String used for Axis Tick Labels when the range of the axis is sub-day
Declaration
public String getSubDayTextFormatting()
Returns
getType()
Gets base value type for current axis
Declaration
protected Class<Date> getType()
Returns
Overrides
getVisibleRangeType()
Gets the type of visible range which is supported by current axis
Declaration
protected Class<? extends IRange<Date>> getVisibleRangeType()
Returns
Type |
Description |
Class<? extends com.scichart.data.model.IRange<Date>> |
|
Overrides
getZoomConstrainType()
Gets the type of zoom constrain value which is supported by current axis.
Declaration
protected Class<? extends Comparable> getZoomConstrainType()
Returns
Type |
Description |
Class<? extends java.lang.Comparable> |
|
Overrides
isZoomConstrainSatisfied(IRange<Date> range)
Checks if specified range satisfies zoom constrain for this axis
Declaration
protected boolean isZoomConstrainSatisfied(IRange<Date> range)
Parameters
Returns
Overrides
setSubDayTextFormatting(String subDayTextFormatting)
Sets the Text Formatting String used for Axis Tick Labels when the range of the axis is sub-day
Declaration
public void setSubDayTextFormatting(String subDayTextFormatting)
Parameters
Type |
Name |
Description |
String |
subDayTextFormatting |
|
toDouble(Comparable dataValue)
Converts specified data value to its double representation
Declaration
protected final double toDouble(Comparable dataValue)
Parameters
Returns
Overrides
Implements