Class AxisCore<T>
Defines a base class for axes used throughout SciChart
Namespace:
Assembly: .dll
Syntax
public abstract class AxisCore<T> implements IAxisCore
Type Parameters
Constructors
AxisCore(IRange<T> defaultNonZeroRange)
Creates a new instance of AxisCore class
Declaration
protected AxisCore(IRange<T> defaultNonZeroRange)
Parameters
Type |
Name |
Description |
IRange<T> |
defaultNonZeroRange |
The default non zero range which should be used by axis
|
Fields
DEFAULT_AXIS_ID
Declaration
public static final String DEFAULT_AXIS_ID
Field Value
autoRangeProperty
Declaration
protected final SmartProperty<AutoRange> autoRangeProperty
Field Value
autoTicksProperty
Declaration
protected final SmartPropertyBoolean autoTicksProperty
Field Value
axisBandsStyleProperty
Declaration
protected final SmartProperty<BrushStyle> axisBandsStyleProperty
Field Value
axisParams
Declaration
protected final AxisParams axisParams
Field Value
axisParamsLock
Declaration
protected final IReadWriteLock axisParamsLock
Field Value
axisTitleProperty
Declaration
protected final SmartProperty<CharSequence> axisTitleProperty
Field Value
cursorTextFormattingProperty
Declaration
protected final SmartProperty<String> cursorTextFormattingProperty
Field Value
drawLabelsProperty
Declaration
protected final SmartPropertyBoolean drawLabelsProperty
Field Value
drawMajorBandsProperty
Declaration
protected final SmartPropertyBoolean drawMajorBandsProperty
Field Value
drawMajorGridLinesProperty
Declaration
protected final SmartPropertyBoolean drawMajorGridLinesProperty
Field Value
drawMajorTicksProperty
Declaration
protected final SmartPropertyBoolean drawMajorTicksProperty
Field Value
drawMinorGridLinesProperty
Declaration
protected final SmartPropertyBoolean drawMinorGridLinesProperty
Field Value
drawMinorTicksProperty
Declaration
protected final SmartPropertyBoolean drawMinorTicksProperty
Field Value
flipCoordinatesProperty
Declaration
protected final SmartPropertyBoolean flipCoordinatesProperty
Field Value
invalidateAndRecreateCalculatorsCallback
Declaration
protected final AxisCore<T>.InvalidateAndRecreateCalculatorsCallback invalidateAndRecreateCalculatorsCallback
Field Value
Type |
Description |
AxisCore<T>.InvalidateAndRecreateCalculatorsCallback |
|
invalidateElement
Declaration
protected final AxisCore<T>.InvalidateElementCallback invalidateElement
Field Value
Type |
Description |
AxisCore<T>.InvalidateElementCallback |
|
majorDeltaProperty
Declaration
protected final SmartProperty<Comparable> majorDeltaProperty
Field Value
majorGridLineStyleProperty
Declaration
protected final SmartProperty<PenStyle> majorGridLineStyleProperty
Field Value
majorTickLineLengthProperty
Declaration
protected final SmartPropertyFloat majorTickLineLengthProperty
Field Value
majorTickLineStyleProperty
Declaration
protected final SmartProperty<PenStyle> majorTickLineStyleProperty
Field Value
maxAutoTicksProperty
Declaration
protected final SmartPropertyInteger maxAutoTicksProperty
Field Value
minorDeltaProperty
Declaration
protected final SmartProperty<Comparable> minorDeltaProperty
Field Value
minorGridLineStyleProperty
Declaration
protected final SmartProperty<PenStyle> minorGridLineStyleProperty
Field Value
minorTickLineLengthProperty
Declaration
protected final SmartPropertyFloat minorTickLineLengthProperty
Field Value
minorTickLineStyleProperty
Declaration
protected final SmartProperty<PenStyle> minorTickLineStyleProperty
Field Value
minorsPerMajorProperty
Declaration
protected final SmartPropertyInteger minorsPerMajorProperty
Field Value
redrawElement
Declaration
protected final AxisCore<T>.RedrawElementCallback redrawElement
Field Value
Type |
Description |
AxisCore<T>.RedrawElementCallback |
|
textFormattingProperty
Declaration
protected final SmartProperty<String> textFormattingProperty
Field Value
Methods
animateVisibleRangeTo(IRange range, long duration)
Animates the visible range of the axis to the destination range
, over the specified duration
.
Declaration
public void animateVisibleRangeTo(IRange range, long duration)
Parameters
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
coerceVisibleRange(IRange<T> visibleRange)
When overridden in derived classes, changes value of the VisibleRange according to axis requirements
Declaration
protected void coerceVisibleRange(IRange<T> visibleRange)
Parameters
Type |
Name |
Description |
IRange<T> |
visibleRange |
Visible range to change
|
decrementSuspend()
Declaration
public void decrementSuspend()
detach()
Declaration
formatCursorText(Comparable value)
Formats value
using the CursorTextFormatting of current Axis as formatting string
Declaration
public CharSequence formatCursorText(Comparable value)
Parameters
Returns
formatText(Comparable value)
Formats value
using the TextFormatting of current Axis as formatting string
Declaration
public CharSequence formatText(Comparable value)
Parameters
Returns
fromDouble(double doubleValue)
Converts specified double representation of value to data value used by axis
Declaration
protected abstract Comparable fromDouble(double doubleValue)
Parameters
Type |
Name |
Description |
double |
doubleValue |
The double value to convert
|
Returns
Type |
Description |
Comparable |
The converted data value
|
getAutoRange()
Gets auto range mode for current axis. Default is AutoRange.Once
Declaration
public final AutoRange getAutoRange()
Returns
getAutoTicks()
Get the value that indicates whether calculate ticks automatically. Default is True.
Declaration
public final boolean getAutoTicks()
Returns
getAxisBandsStyle()
Gets the style for Axis Bands
Declaration
public final BrushStyle getAxisBandsStyle()
Returns
getAxisId()
Gets the string Id of this Axis.
Declaration
public final String getAxisId()
Returns
getAxisParamsLock()
Gets the lock for current axis params. Used internally for synchronization of axis updated during render pass
Declaration
public final IReadWriteLock getAxisParamsLock()
Returns
getAxisTitle()
Declaration
public final CharSequence getAxisTitle()
Returns
getCoordinate(Comparable value)
Converts given data value to the x or y pixel coordinate on this axis
Declaration
public float getCoordinate(Comparable value)
Parameters
Returns
getCursorTextFormatting()
Gets the Text Formatting String for Labels on this cursor
Declaration
public final String getCursorTextFormatting()
Returns
getDataRange()
Gets the data range(full extents of the data) of the Axis
Declaration
public final IRange<T> getDataRange()
Returns
getDataRange(boolean forceCacheUpdate)
Gets the data range(full extents of the data) of the Axis
Declaration
public abstract IRange<T> getDataRange(boolean forceCacheUpdate)
Parameters
Type |
Name |
Description |
boolean |
forceCacheUpdate |
|
Returns
getDataValue(float pixelCoordinate)
Converts given the x or y pixel coordinate to the data value at this coordinate
Declaration
public Comparable getDataValue(float pixelCoordinate)
Parameters
Type |
Name |
Description |
float |
pixelCoordinate |
|
Returns
getDefaultNonZeroRange()
Returns an default non zero IRange, called internally by SciChart to reset the VisibleRange of an axis to an default state
Declaration
public final IRange<T> getDefaultNonZeroRange()
Returns
getDrawLabels()
Gets a flag indicating whether to draw tick labels or not
Declaration
public final boolean getDrawLabels()
Returns
getDrawMajorBands()
Gets a flag indicating whether to draw major bands or not
Declaration
public final boolean getDrawMajorBands()
Returns
getDrawMajorGridLines()
Gets a flag indicating whether to draw major grid lines or not
Declaration
public final boolean getDrawMajorGridLines()
Returns
getDrawMajorTicks()
Gets a flag indicating whether to draw major ticks or not
Declaration
public final boolean getDrawMajorTicks()
Returns
getDrawMinorGridLines()
Gets a flag indicating whether to draw minor grid lines or not
Declaration
public final boolean getDrawMinorGridLines()
Returns
getDrawMinorTicks()
Gets a flag indicating whether to draw minor ticks or not
Declaration
public final boolean getDrawMinorTicks()
Returns
getFlipCoordinates()
Gets a flag indicating whether to flip the tick and pixel coordinate generation for this axis, causing the axis ticks to decrement and chart to be flipped in the axis direction
Declaration
public final boolean getFlipCoordinates()
Returns
getGrowBy()
Declaration
public final IRange<Double> getGrowBy()
Returns
getIsSuspended()
Declaration
public final boolean getIsSuspended()
Returns
getLabelProvider()
Declaration
public final labelProviders.ILabelProvider getLabelProvider()
Returns
getMajorDelta()
Declaration
public final Comparable getMajorDelta()
Returns
getMajorGridLineStyle()
Gets the style which is used to draw all major grid lines on this axis
Declaration
public final PenStyle getMajorGridLineStyle()
Returns
getMajorTickLineLength()
Gets the the length of all major ticks on this axis
Declaration
public final float getMajorTickLineLength()
Returns
getMajorTickLineStyle()
Gets the style which is used to draw all major ticks on this axis
Declaration
public final PenStyle getMajorTickLineStyle()
Returns
getMaxAutoTicks()
Declaration
public final int getMaxAutoTicks()
Returns
getMaximumRange()
Gets the maximum range of the axis, based on the data-range of all series
Declaration
public final IRange<T> getMaximumRange()
Returns
getMaximumRange(boolean forceCacheUpdate)
Gets the maximum range of the axis, based on the data-range of all series
Declaration
public abstract IRange<T> getMaximumRange(boolean forceCacheUpdate)
Parameters
Type |
Name |
Description |
boolean |
forceCacheUpdate |
|
Returns
getMaximumZoomConstrain()
Gets the MaximumZoomConstrain of the Axis. This is used to set maximum distance between Min and Max of the VisibleRange
Declaration
public final Comparable getMaximumZoomConstrain()
Returns
getMinimalZoomConstrain()
Gets the MinimalZoomConstrain of the Axis. This is used to set minimum distance between Min and Max of the VisibleRange
Declaration
public final Comparable getMinimalZoomConstrain()
Returns
getMinorDelta()
Declaration
public final Comparable getMinorDelta()
Returns
getMinorGridLineStyle()
Gets the style which is used to draw all minor grid lines on this axis
Declaration
public final PenStyle getMinorGridLineStyle()
Returns
getMinorTickLineLength()
Gets the the length of all minor ticks on this axis
Declaration
public final float getMinorTickLineLength()
Returns
getMinorTickLineStyle()
Gets the style which is used to draw all minor ticks on this axis
Declaration
public final PenStyle getMinorTickLineStyle()
Returns
getMinorsPerMajor()
Gets the number of Minor Delta ticks per Major Tick
Declaration
public final int getMinorsPerMajor()
Returns
getServices()
Declaration
public final IServiceContainer getServices()
Returns
getTextFormatting()
Gets the Text Formatting String for Axis Tick Labels on this axis
Declaration
public final String getTextFormatting()
Returns
getTickCoordinatesProvider()
Declaration
public final tickCoordinatesProviders.ITickCoordinatesProvider getTickCoordinatesProvider()
Returns
getTickProvider()
Declaration
public final tickProviders.ITickProvider getTickProvider()
Returns
getType()
Gets base value type for current axis
Declaration
protected abstract Class<T> getType()
Returns
Type |
Description |
Class<T> |
Type of values for current axis
|
getUpdateSuspenderCount()
Declaration
public final AtomicInteger getUpdateSuspenderCount()
Returns
getVisibility()
Get visibility of this axis
Declaration
public final int getVisibility()
Returns
getVisibleRange()
Gets the VisibleRange of the Axis
Declaration
public final IRange<T> getVisibleRange()
Returns
getVisibleRangeAnimator()
Declaration
protected rangeAnimators.IVisibleRangeAnimator getVisibleRangeAnimator()
Returns
getVisibleRangeLimit()
Gets the VisibleRangeLimit of the Axis. This will be used to clip the axis during ZoomExtents and AutoRange operations
Declaration
public final IRange<T> getVisibleRangeLimit()
Returns
getVisibleRangeLimitMode()
Gets the VisibleRangeLimitMode of the Axis. This property defines which parts of VisibleRangeLimit
will be used by axis
Declaration
public final RangeClipMode getVisibleRangeLimitMode()
Returns
getVisibleRangeType()
Gets the type of visible range which is supported by current axis
Declaration
protected abstract Class<? extends IRange<T>> getVisibleRangeType()
Returns
Type |
Description |
Class<? extends com.scichart.data.model.IRange<T>> |
The type of visible range for current axis
|
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> |
The type of zoom constrain value which is supported by current axis.
|
hasDefaultVisibleRange()
Gets whether the VisibleRange has default value
Declaration
public final boolean hasDefaultVisibleRange()
Returns
hasValidVisibleRange()
Gets whether the VisibleRange is valid, e.g. is not null, is not NaN and the difference between Max and Min is not zero
Declaration
public final boolean hasValidVisibleRange()
Returns
invalidateElement()
Declaration
public final void invalidateElement()
invalidateElement(boolean isAxisDirty)
Declaration
public abstract void invalidateElement(boolean isAxisDirty)
Parameters
Type |
Name |
Description |
boolean |
isAxisDirty |
True if axis layout has changed
|
isAttached()
Declaration
public final boolean isAttached()
Returns
isValidRange(IRange range)
Checks whether range
is valid visible range for this axis
Declaration
public boolean isValidRange(IRange range)
Parameters
Type |
Name |
Description |
IRange |
range |
|
Returns
isValidVisibleRange(IRange visibleRange)
Checks whether IRange instance is valid for current axis
Declaration
protected boolean isValidVisibleRange(IRange visibleRange)
Parameters
Type |
Name |
Description |
IRange |
visibleRange |
The range to check
|
Returns
Type |
Description |
boolean |
True if range instance is valid
|
isZoomConstrainSatisfied(IRange<T> range)
Checks if specified range satisfies zoom constrain for this axis
Declaration
protected boolean isZoomConstrainSatisfied(IRange<T> range)
Parameters
Type |
Name |
Description |
IRange<T> |
range |
The range to check
|
Returns
Type |
Description |
boolean |
If true range satisfies zoom constrain for this axis
|
onDataRangeChanged()
Used internally for notification of axis when data range changes
Declaration
public void onDataRangeChanged()
onVisibilityChanged(int visibility)
Called when visibility of axis changes
Declaration
protected void onVisibilityChanged(int visibility)
Parameters
Type |
Name |
Description |
int |
visibility |
The new axis visibility
|
onVisibleRangeChanged(IRange oldRange, IRange newRange, boolean isAnimating)
Called when VisibleRange changes
Declaration
protected void onVisibleRangeChanged(IRange oldRange, IRange newRange, boolean isAnimating)
Parameters
Type |
Name |
Description |
IRange |
oldRange |
The old VisibleRange
|
IRange |
newRange |
The new VisibleRange
|
boolean |
isAnimating |
Flag indicating whether the VisibleRange is animating
|
recreateCalculator()
Recreates coordinate calculator for current axis
Declaration
protected abstract void recreateCalculator()
resumeUpdates(IUpdateSuspender suspender)
Declaration
public void resumeUpdates(IUpdateSuspender suspender)
Parameters
setAutoRange(AutoRange autoRange)
Sets auto range mode for current axis. Default is AutoRange.Once
If AutoRange.Always, the axis should scale to fit the data.
If AutoRange.Once, the axis will try to fit the data once.
If AutoRange.Never, then the axis will never auto range.
Declaration
public final void setAutoRange(AutoRange autoRange)
Parameters
setAutoTicks(boolean autoTicks)
Sets the value that indicates whether calculate ticks automatically. Default is True.
Declaration
public final void setAutoTicks(boolean autoTicks)
Parameters
Type |
Name |
Description |
boolean |
autoTicks |
|
setAxisBandsStyle(BrushStyle axisBandsPaint)
Sets the style for Axis Bands. Also see setDrawMajorBands
to enable this behavior
Declaration
public final void setAxisBandsStyle(BrushStyle axisBandsPaint)
Parameters
setAxisId(String axisId)
Declaration
public final void setAxisId(String axisId)
Parameters
Type |
Name |
Description |
String |
axisId |
|
setAxisTitle(CharSequence axisTitle)
Sets or sets the Axis Title
Declaration
public final void setAxisTitle(CharSequence axisTitle)
Parameters
setCursorTextFormatting(String cursorTextFormatting)
Sets the Text Formatting String for Labels on this cursor
Declaration
public final void setCursorTextFormatting(String cursorTextFormatting)
Parameters
Type |
Name |
Description |
String |
cursorTextFormatting |
|
setDataRangeChangeListener(DataRangeChangeListener listener)
Declaration
public void setDataRangeChangeListener(DataRangeChangeListener listener)
Parameters
setDrawLabels(boolean drawLabels)
Sets a flag indicating whether to draw tick labels or not
Declaration
public final void setDrawLabels(boolean drawLabels)
Parameters
Type |
Name |
Description |
boolean |
drawLabels |
|
setDrawMajorBands(boolean drawMajorBands)
Sets a flag indicating whether to draw major bands or not
Declaration
public final void setDrawMajorBands(boolean drawMajorBands)
Parameters
Type |
Name |
Description |
boolean |
drawMajorBands |
|
setDrawMajorGridLines(boolean drawMajorGridLines)
Sets a flag indicating whether to draw major grid lines or not
Declaration
public final void setDrawMajorGridLines(boolean drawMajorGridLines)
Parameters
Type |
Name |
Description |
boolean |
drawMajorGridLines |
|
setDrawMajorTicks(boolean drawMajorTicks)
Sets a flag indicating whether to draw major ticks or not
Declaration
public final void setDrawMajorTicks(boolean drawMajorTicks)
Parameters
Type |
Name |
Description |
boolean |
drawMajorTicks |
|
setDrawMinorGridLines(boolean drawMinorGridLines)
Sets a flag indicating whether to draw minor grid lines or not
Declaration
public final void setDrawMinorGridLines(boolean drawMinorGridLines)
Parameters
Type |
Name |
Description |
boolean |
drawMinorGridLines |
|
setDrawMinorTicks(boolean drawMinorTicks)
Sets a flag indicating whether to draw minor ticks or not
Declaration
public final void setDrawMinorTicks(boolean drawMinorTicks)
Parameters
Type |
Name |
Description |
boolean |
drawMinorTicks |
|
setFlipCoordinates(boolean flipCoordinates)
Sets a flag indicating whether to flip the tick and pixel coordinate generation for this axis, causing the axis ticks to decrement and chart to be flipped in the axis direction
If true
reverses the ticks and coordinates for the axis.
Declaration
public final void setFlipCoordinates(boolean flipCoordinates)
Parameters
Type |
Name |
Description |
boolean |
flipCoordinates |
|
setGrowBy(IRange<Double> growBy)
Sets the GrowBy Factor. e.g. GrowBy(0.1, 0.2) will increase the axis extents by 10% (min) and 20% (max) outside of the data range
Declaration
public final void setGrowBy(IRange<Double> growBy)
Parameters
setLabelProvider(labelProviders.ILabelProvider labelProvider)
Declaration
public final void setLabelProvider(labelProviders.ILabelProvider labelProvider)
Parameters
setMajorDelta(Comparable majorDelta)
Declaration
public final void setMajorDelta(Comparable majorDelta)
Parameters
setMajorGridLineStyle(PenStyle majorGridLineStyle)
Sets the style which is used to draw all major grid lines on this axis
Declaration
public final void setMajorGridLineStyle(PenStyle majorGridLineStyle)
Parameters
Type |
Name |
Description |
PenStyle |
majorGridLineStyle |
|
setMajorTickLineLength(float majorTickLineLength)
Sets the the length of all major ticks on this axis
Declaration
public final void setMajorTickLineLength(float majorTickLineLength)
Parameters
Type |
Name |
Description |
float |
majorTickLineLength |
|
setMajorTickLineStyle(PenStyle majorTickLineStyle)
Sets the style which is used to draw all major ticks on this axis
Declaration
public final void setMajorTickLineStyle(PenStyle majorTickLineStyle)
Parameters
Type |
Name |
Description |
PenStyle |
majorTickLineStyle |
|
setMaxAutoTicks(int maxAutoTicks)
Declaration
public final void setMaxAutoTicks(int maxAutoTicks)
Parameters
Type |
Name |
Description |
int |
maxAutoTicks |
|
setMaximumZoomConstrain(Comparable maximumZoomConstrain)
Sets the MaximumZoomConstrain of the Axis. This is used to set maximum distance between Min and Max of the VisibleRange
Declaration
public final void setMaximumZoomConstrain(Comparable maximumZoomConstrain)
Parameters
Type |
Name |
Description |
Comparable |
maximumZoomConstrain |
|
setMinimalZoomConstrain(Comparable minimalZoomConstrain)
Sets the MinimalZoomConstrain of the Axis. This is used to set minimum distance between Min and Max of the VisibleRange
Declaration
public final void setMinimalZoomConstrain(Comparable minimalZoomConstrain)
Parameters
Type |
Name |
Description |
Comparable |
minimalZoomConstrain |
|
setMinorDelta(Comparable minorDelta)
Declaration
public final void setMinorDelta(Comparable minorDelta)
Parameters
setMinorGridLineStyle(PenStyle minorGridLineStyle)
Sets the style which is used to draw all minor grid lines on this axis
Declaration
public final void setMinorGridLineStyle(PenStyle minorGridLineStyle)
Parameters
Type |
Name |
Description |
PenStyle |
minorGridLineStyle |
|
setMinorTickLineLength(float minorTickLineLength)
Sets the the length of all minor ticks on this axis
Declaration
public final void setMinorTickLineLength(float minorTickLineLength)
Parameters
Type |
Name |
Description |
float |
minorTickLineLength |
|
setMinorTickLineStyle(PenStyle minorTickLineStyle)
Sets the style which is used to draw all minor ticks on this axis
Declaration
public final void setMinorTickLineStyle(PenStyle minorTickLineStyle)
Parameters
Type |
Name |
Description |
PenStyle |
minorTickLineStyle |
|
setMinorsPerMajor(int minorsPerMajor)
Sets the number of Minor Delta ticks per Major Tick
Declaration
public final void setMinorsPerMajor(int minorsPerMajor)
Parameters
Type |
Name |
Description |
int |
minorsPerMajor |
|
setTextFormatting(String textFormatting)
Sets the Text Formatting String for Axis Tick Labels on this axis
Declaration
public final void setTextFormatting(String textFormatting)
Parameters
Type |
Name |
Description |
String |
textFormatting |
|
setTickCoordinatesProvider(tickCoordinatesProviders.ITickCoordinatesProvider tickCoordinatesProvider)
Declaration
public final void setTickCoordinatesProvider(tickCoordinatesProviders.ITickCoordinatesProvider tickCoordinatesProvider)
Parameters
setTickProvider(tickProviders.ITickProvider tickProvider)
Declaration
public final void setTickProvider(tickProviders.ITickProvider tickProvider)
Parameters
setVisibility(int visibility)
Sets visibility of this axis
Declaration
public final void setVisibility(int visibility)
Parameters
Type |
Name |
Description |
int |
visibility |
|
setVisibleRange(IRange visibleRange)
Sets the VisibleRange of the Axis.
Note: Setting the VisibleRange will cause the axis to redraw
Declaration
public final void setVisibleRange(IRange visibleRange)
Parameters
Type |
Name |
Description |
IRange |
visibleRange |
|
setVisibleRangeAnimator(rangeAnimators.IVisibleRangeAnimator visibleRangeAnimator)
Declaration
protected void setVisibleRangeAnimator(rangeAnimators.IVisibleRangeAnimator visibleRangeAnimator)
Parameters
setVisibleRangeChangeListener(VisibleRangeChangeListener listener)
Declaration
public void setVisibleRangeChangeListener(VisibleRangeChangeListener listener)
Parameters
setVisibleRangeLimit(IRange visibleRangeLimit)
Sets the VisibleRangeLimit of the Axis. This will be used to clip the axis during ZoomExtents and AutoRange operations
Declaration
public final void setVisibleRangeLimit(IRange visibleRangeLimit)
Parameters
Type |
Name |
Description |
IRange |
visibleRangeLimit |
|
setVisibleRangeLimitMode(RangeClipMode visibleRangeLimitMode)
the VisibleRangeLimitMode of the Axis. This property defines which parts of IAxis#getVisibleRangeLimit() will be used by axis
Declaration
public final void setVisibleRangeLimitMode(RangeClipMode visibleRangeLimitMode)
Parameters
suspendUpdates()
Declaration
public final IUpdateSuspender suspendUpdates()
Returns
toDouble(Comparable dataValue)
Converts specified data value to its double representation
Declaration
protected abstract double toDouble(Comparable dataValue)
Parameters
Type |
Name |
Description |
Comparable |
dataValue |
The data value to convert
|
Returns
Type |
Description |
double |
The double representation of data value
|
tryApplyVisibleRangeLimitTo(IRange<T> range)
Declaration
protected final void tryApplyVisibleRangeLimitTo(IRange<T> range)
Parameters
Type |
Name |
Description |
IRange<T> |
range |
|
Implements