Interface IAxisCore
Defines the base interface for all axes types used throughout the SciChart SDK
Namespace:
Assembly: .dll
Syntax
public interface IAxisCore extends IServiceProvider, ISuspendable, IInvalidatableElement, IThemeable, IAttachable, IIncludable
Methods
animateVisibleRangeTo(IRange range, long duration)
Animates the visible range of the axis to the destination range, over the specified duration.
Declaration
public abstract void animateVisibleRangeTo(IRange range, long duration)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | range | The end range |
| long | duration | The duration of the animation |
createCoordinateCalculatorFrom(IRange visibleRange)
Creates a coordinate calculator from specified visible range
Declaration
public abstract coordinateCalculators.ICoordinateCalculator createCoordinateCalculatorFrom(IRange visibleRange)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | visibleRange | The visible range to create coordinate calculator from |
Returns
| Type | Description |
|---|---|
| coordinateCalculators.ICoordinateCalculator | The coordinate calculator instance |
formatCursorText(Comparable value)
Formats value using the CursorTextFormatting of current Axis as formatting string
Declaration
public abstract CharSequence formatCursorText(Comparable value)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | value | data value to format |
Returns
| Type | Description |
|---|---|
| CharSequence | formatted string |
formatText(Comparable value)
Formats value using the TextFormatting of current Axis as formatting string
Declaration
public abstract CharSequence formatText(Comparable value)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | value | data value to format |
Returns
| Type | Description |
|---|---|
| CharSequence | formatted string |
getAutoRange()
Gets auto range mode for current axis. Default is AutoRange.Once
Declaration
public abstract AutoRange getAutoRange()
Returns
| Type | Description |
|---|---|
| AutoRange | The auto range value |
getAutoTicks()
Get the value that indicates whether calculate ticks automatically. Default is True.
Declaration
public abstract boolean getAutoTicks()
Returns
| Type | Description |
|---|---|
| boolean | True if auto ticks mode is enabled |
getAxisBandsStyle()
Gets the style for Axis Bands
Declaration
public abstract BrushStyle getAxisBandsStyle()
Returns
| Type | Description |
|---|---|
| BrushStyle | The axis bands style |
getAxisBorderStyle()
Gets the style which is used to draw the axis border
Declaration
public abstract AxisBorderStyle getAxisBorderStyle()
Returns
| Type | Description |
|---|---|
| AxisBorderStyle | The axis border style |
getAxisId()
Gets the string Id of this Axis.
Declaration
public abstract String getAxisId()
Returns
| Type | Description |
|---|---|
| String | The axis id |
getAxisParamsLock()
Gets the lock for current axis params. Used internally for synchronization of axis updated during render pass
Declaration
public abstract IReadWriteLock getAxisParamsLock()
Returns
| Type | Description |
|---|---|
| IReadWriteLock | The lock for current axis params |
getAxisTitle()
Gets sets the Axis Title
Declaration
public abstract CharSequence getAxisTitle()
Returns
| Type | Description |
|---|---|
| CharSequence | The axis title |
getAxisViewportDimension()
Gets the axis viewport dimension, which is used by com.scichart.charting.numerics.coordinateCalculators.ICoordinateCalculator of the Axis
Declaration
public abstract int getAxisViewportDimension()
Returns
| Type | Description |
|---|---|
| int | viewport dimension of this Axis |
getCoordinate(Comparable value)
Converts given data value to the x or y pixel coordinate on this axis
Declaration
public abstract float getCoordinate(Comparable value)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | value | The data value to convert |
Returns
| Type | Description |
|---|---|
| float | The coordinate in pixels |
getCurrentCoordinateCalculator()
Gets the current ICoordinateCalculator for this Axis, based on current Visible Range and axis type
Declaration
public abstract coordinateCalculators.ICoordinateCalculator getCurrentCoordinateCalculator()
Returns
| Type | Description |
|---|---|
| coordinateCalculators.ICoordinateCalculator | The current ICoordinateCalculator instance |
getCursorTextFormatting()
Gets the Text Formatting String for Labels on this cursor
Declaration
public abstract String getCursorTextFormatting()
Returns
| Type | Description |
|---|---|
| String | The cursor text formatting |
getDataRange()
Gets the data range(full extents of the data) of the Axis
Declaration
public abstract IRange getDataRange()
Returns
| Type | Description |
|---|---|
| IRange | The data range for this axis |
getDataRange(boolean forceCacheUpdate)
Gets the data range(full extents of the data) of the Axis
Declaration
public abstract IRange getDataRange(boolean forceCacheUpdate)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | forceCacheUpdate | Flag indicating whether the cached results should be updated |
Returns
| Type | Description |
|---|---|
| IRange | The data range for this axis |
getDataValue(float pixelCoordinate)
Converts given the x or y pixel coordinate to the data value at this coordinate
Declaration
public abstract Comparable getDataValue(float pixelCoordinate)
Parameters
| Type | Name | Description |
|---|---|---|
| float | pixelCoordinate | The coordinate in pixels to convert |
Returns
| Type | Description |
|---|---|
| Comparable | The data value |
getDefaultNonZeroRange()
Returns an default non zero IRange, called internally by SciChart to reset the VisibleRange of an axis to an default state
Declaration
public abstract IRange getDefaultNonZeroRange()
Returns
| Type | Description |
|---|---|
| IRange | The default VisibleRange value |
getDrawLabels()
Gets a flag indicating whether to draw tick labels or not
Declaration
public abstract boolean getDrawLabels()
Returns
| Type | Description |
|---|---|
| boolean | The drawLabels value |
getDrawMajorBands()
Gets a flag indicating whether to draw major bands or not
Declaration
public abstract boolean getDrawMajorBands()
Returns
| Type | Description |
|---|---|
| boolean | The drawMajorBands value |
getDrawMajorGridLines()
Gets a flag indicating whether to draw major grid lines or not
Declaration
public abstract boolean getDrawMajorGridLines()
Returns
| Type | Description |
|---|---|
| boolean | The drawMajorGridLines value |
getDrawMajorTicks()
Gets a flag indicating whether to draw major ticks or not
Declaration
public abstract boolean getDrawMajorTicks()
Returns
| Type | Description |
|---|---|
| boolean | The drawMajorTicks value |
getDrawMinorGridLines()
Gets a flag indicating whether to draw minor grid lines or not
Declaration
public abstract boolean getDrawMinorGridLines()
Returns
| Type | Description |
|---|---|
| boolean | The drawMinorGridLines value |
getDrawMinorTicks()
Gets a flag indicating whether to draw minor ticks or not
Declaration
public abstract boolean getDrawMinorTicks()
Returns
| Type | Description |
|---|---|
| boolean | The drawMinorTicks value |
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 abstract boolean getFlipCoordinates()
Returns
| Type | Description |
|---|---|
| boolean | The flipCoordinates value |
getGrowBy()
Gets the GrowBy Factor
Declaration
public abstract IRange<Double> getGrowBy()
Returns
| Type | Description |
|---|---|
| IRange<Double> | The GrowBy value |
getId()
Default implementation that delegates to #getAxisId()
Declaration
public default String getId()
Returns
| Type | Description |
|---|---|
| String |
getLabelProvider()
Gets a com.scichart.charting.numerics.labelProviders.ILabelProvider instance, which may be used to programmatically override the formatting of text and cursor labels. See Also: com.scichart.charting.numerics.labelProviders.NumericLabelProvider
Declaration
public abstract labelProviders.ILabelProvider getLabelProvider()
Returns
| Type | Description |
|---|---|
| labelProviders.ILabelProvider | The label provider |
getMajorDelta()
Gets the Major Delta
Declaration
public abstract Comparable getMajorDelta()
Returns
| Type | Description |
|---|---|
| Comparable | The Major Delta value |
getMajorGridLineStyle()
Gets the style which is used to draw all major grid lines on this axis
Declaration
public abstract PenStyle getMajorGridLineStyle()
Returns
| Type | Description |
|---|---|
| PenStyle | The major grid line style |
getMajorTickLineLength()
Gets the the length of all major ticks on this axis
Declaration
public abstract float getMajorTickLineLength()
Returns
| Type | Description |
|---|---|
| float | The major tick line length in pixels |
getMajorTickLineStyle()
Gets the style which is used to draw all major ticks on this axis
Declaration
public abstract PenStyle getMajorTickLineStyle()
Returns
| Type | Description |
|---|---|
| PenStyle | The major tick line style |
getMaxAutoTicks()
Gets the max ticks.
Declaration
public abstract int getMaxAutoTicks()
Returns
| Type | Description |
|---|---|
| int | The maxAutoTicks value |
getMaximumRange()
Gets the maximum range of the axis, based on the data-range of all series
Declaration
public abstract IRange getMaximumRange()
Returns
| Type | Description |
|---|---|
| IRange | The maximum range for this axis |
getMaximumRange(boolean forceCacheUpdate)
Gets the maximum range of the axis, based on the data-range of all series
Declaration
public abstract IRange getMaximumRange(boolean forceCacheUpdate)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | forceCacheUpdate | Flag indicating whether the cached results should be updated |
Returns
| Type | Description |
|---|---|
| IRange | The maximum range for this axis |
getMaximumZoomConstrain()
Gets the MaximumZoomConstrain of the Axis. This is used to set maximum distance between Min and Max of the VisibleRange
Declaration
public abstract Comparable getMaximumZoomConstrain()
Returns
| Type | Description |
|---|---|
| Comparable | The maximum zoom constrain value |
getMinimalZoomConstrain()
Gets the MinimalZoomConstrain of the Axis. This is used to set minimum distance between Min and Max of the VisibleRange
Declaration
public abstract Comparable getMinimalZoomConstrain()
Returns
| Type | Description |
|---|---|
| Comparable | The minimal zoom constrain value |
getMinorDelta()
Gets the Minor Delta
Declaration
public abstract Comparable getMinorDelta()
Returns
| Type | Description |
|---|---|
| Comparable | The Minor Delta value |
getMinorGridLineStyle()
Gets the style which is used to draw all minor grid lines on this axis
Declaration
public abstract PenStyle getMinorGridLineStyle()
Returns
| Type | Description |
|---|---|
| PenStyle | The minor grid line style |
getMinorTickLineLength()
Gets the the length of all minor ticks on this axis
Declaration
public abstract float getMinorTickLineLength()
Returns
| Type | Description |
|---|---|
| float | The minor tick line length in pixels |
getMinorTickLineStyle()
Gets the style which is used to draw all minor ticks on this axis
Declaration
public abstract PenStyle getMinorTickLineStyle()
Returns
| Type | Description |
|---|---|
| PenStyle | The minor tick line style |
getMinorsPerMajor()
Gets the number of Minor Delta ticks per Major Tick
Declaration
public abstract int getMinorsPerMajor()
Returns
| Type | Description |
|---|---|
| int | The minorsPerMajors value |
getTextFormatting()
Gets the Text Formatting String for Axis Tick Labels on this axis
Declaration
public abstract String getTextFormatting()
Returns
| Type | Description |
|---|---|
| String | The text formatting |
getTickCoordinatesProvider()
Gets a ITickCoordinatesProvider instance on current axis, which is used to transform the data-values received from the com.scichart.charting.numerics.tickProviders.ITickProvider instance to the coordinates for Axis Grid Lines, Ticks and Labels drawing.
Declaration
public abstract tickCoordinatesProviders.ITickCoordinatesProvider getTickCoordinatesProvider()
Returns
| Type | Description |
|---|---|
| tickCoordinatesProviders.ITickCoordinatesProvider | The tick coordinates provider |
getTickProvider()
Gets a com.scichart.charting.numerics.tickProviders.ITickProvider instance on current axis, which is used to compute the data-values of Axis Grid Lines, Ticks and Labels.
Declaration
public abstract tickProviders.ITickProvider getTickProvider()
Returns
| Type | Description |
|---|---|
| tickProviders.ITickProvider | The tick provider |
getVisibility()
Get visibility of this axis
Declaration
public abstract int getVisibility()
Returns
| Type | Description |
|---|---|
| int | The visibility value |
getVisibleRange()
Gets the VisibleRange of the Axis
Declaration
public abstract IRange getVisibleRange()
Returns
| Type | Description |
|---|---|
| IRange | The VisibleRange of the Axis |
getVisibleRangeLimit()
Gets the VisibleRangeLimit of the Axis. This will be used to clip the axis during ZoomExtents and AutoRange operations
Declaration
public abstract IRange getVisibleRangeLimit()
Returns
| Type | Description |
|---|---|
| IRange | The VisibleRangeLimit value |
getVisibleRangeLimitMode()
Gets the VisibleRangeLimitMode of the Axis. This property defines which parts of VisibleRangeLimit will be used by axis
Declaration
public abstract RangeClipMode getVisibleRangeLimitMode()
Returns
| Type | Description |
|---|---|
| RangeClipMode | The VisibleRangeLimitMode value |
hasDefaultVisibleRange()
Gets whether the VisibleRange has default value
Declaration
public abstract boolean hasDefaultVisibleRange()
Returns
| Type | Description |
|---|---|
| boolean | True if axis has default VisibleRange |
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 abstract boolean hasValidVisibleRange()
Returns
| Type | Description |
|---|---|
| boolean | True if axis has valid VisibleRange |
isValidRange(IRange range)
Checks whether range is valid visible range for this axis
Declaration
public abstract boolean isValidRange(IRange range)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | range | The range to check |
Returns
| Type | Description |
|---|---|
| boolean | True if range is valid |
onDataRangeChanged()
Used internally for notification of axis when data range changes
Declaration
public abstract void onDataRangeChanged()
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 abstract void setAutoRange(AutoRange autoRange)
Parameters
| Type | Name | Description |
|---|---|---|
| AutoRange | autoRange | The new auto range value |
setAutoTicks(boolean autoTicks)
Sets the value that indicates whether calculate ticks automatically. Default is True.
Declaration
public abstract void setAutoTicks(boolean autoTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | autoTicks | The new autoTicks value |
setAxisBandsStyle(BrushStyle bandsStyle)
Sets the style for Axis Bands. Also see setDrawMajorBands to enable this behavior
Declaration
public abstract void setAxisBandsStyle(BrushStyle bandsStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| BrushStyle | bandsStyle | The new axis bands style |
setAxisBorderStyle(AxisBorderStyle axisBorderStyle)
Sets the style which is used to draw the axis border
Declaration
public abstract void setAxisBorderStyle(AxisBorderStyle axisBorderStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| AxisBorderStyle | axisBorderStyle | The new axis border style |
setAxisId(String axisId)
Sets the string Id of this Axis. Used to associated com.scichart.charting.visuals.renderableSeries.IRenderableSeries
Declaration
public abstract void setAxisId(String axisId)
Parameters
| Type | Name | Description |
|---|---|---|
| String | axisId | The new axis id |
setAxisTitle(CharSequence axisTitle)
Sets or sets the Axis Title
Declaration
public abstract void setAxisTitle(CharSequence axisTitle)
Parameters
| Type | Name | Description |
|---|---|---|
| CharSequence | axisTitle | The new axis title |
setCursorTextFormatting(String cursorTextFormatting)
Sets the Text Formatting String for Labels on this cursor
Declaration
public abstract void setCursorTextFormatting(String cursorTextFormatting)
Parameters
| Type | Name | Description |
|---|---|---|
| String | cursorTextFormatting | The new cursor text formatting |
setDataRangeChangeListener(DataRangeChangeListener listener)
Sets DataRangeChangeListener for this axis instance
Declaration
public abstract void setDataRangeChangeListener(DataRangeChangeListener listener)
Parameters
| Type | Name | Description |
|---|---|---|
| DataRangeChangeListener | listener | The listener to set |
setDrawLabels(boolean drawLabels)
Sets a flag indicating whether to draw tick labels or not
Declaration
public abstract void setDrawLabels(boolean drawLabels)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawLabels | The new drawLabels value |
setDrawMajorBands(boolean drawMajorBands)
Sets a flag indicating whether to draw major bands or not
Declaration
public abstract void setDrawMajorBands(boolean drawMajorBands)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawMajorBands | The new drawMajorBands value |
setDrawMajorGridLines(boolean drawMajorGridLines)
Sets a flag indicating whether to draw major grid lines or not
Declaration
public abstract void setDrawMajorGridLines(boolean drawMajorGridLines)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawMajorGridLines | The new drawMajorGridLines value |
setDrawMajorTicks(boolean drawMajorTicks)
Sets a flag indicating whether to draw major ticks or not
Declaration
public abstract void setDrawMajorTicks(boolean drawMajorTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawMajorTicks | The new drawMajorTicks value |
setDrawMinorGridLines(boolean drawMinorGridLines)
Sets a flag indicating whether to draw minor grid lines or not
Declaration
public abstract void setDrawMinorGridLines(boolean drawMinorGridLines)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawMinorGridLines | The new drawMinorGridLines value |
setDrawMinorTicks(boolean drawMinorTicks)
Sets a flag indicating whether to draw minor ticks or not
Declaration
public abstract void setDrawMinorTicks(boolean drawMinorTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | drawMinorTicks | The new drawMinorTicks value |
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 abstract void setFlipCoordinates(boolean flipCoordinates)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | flipCoordinates | The new flipCoordinates value |
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 abstract void setGrowBy(IRange<Double> growBy)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange<Double> | growBy | The new GrowBy value |
setLabelProvider(labelProviders.ILabelProvider labelProvider)
Sets a com.scichart.charting.numerics.labelProviders.ILabelProvider instance, which may be used to programmatically override the formatting of text and cursor labels.
Declaration
public abstract void setLabelProvider(labelProviders.ILabelProvider labelProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| labelProviders.ILabelProvider | labelProvider | The new label provider |
setMajorDelta(Comparable majorDelta)
Sets the Major Delta
Declaration
public abstract void setMajorDelta(Comparable majorDelta)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | majorDelta | The new Major Delta value |
setMajorGridLineStyle(PenStyle majorGridLineStyle)
Sets the style which is used to draw all major grid lines on this axis
Declaration
public abstract void setMajorGridLineStyle(PenStyle majorGridLineStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| PenStyle | majorGridLineStyle | The new major grid line style |
setMajorTickLineLength(float majorTickLineLength)
Sets the the length of all major ticks on this axis
Declaration
public abstract void setMajorTickLineLength(float majorTickLineLength)
Parameters
| Type | Name | Description |
|---|---|---|
| float | majorTickLineLength | The new major tick line length in pixels |
setMajorTickLineStyle(PenStyle majorTickLineStyle)
Sets the style which is used to draw all major ticks on this axis
Declaration
public abstract void setMajorTickLineStyle(PenStyle majorTickLineStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| PenStyle | majorTickLineStyle | The new major tick line style |
setMaxAutoTicks(int maxAutoTicks)
Sets the max ticks.
Declaration
public abstract void setMaxAutoTicks(int maxAutoTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxAutoTicks | The new maxAutoTicks value |
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 abstract void setMaximumZoomConstrain(Comparable maximumZoomConstrain)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | maximumZoomConstrain | The maximum zoom constrain value |
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 abstract void setMinimalZoomConstrain(Comparable minimalZoomConstrain)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | minimalZoomConstrain | The new minimal zoom constrain value |
setMinorDelta(Comparable minorDelta)
Sets the Minor Delta
Declaration
public abstract void setMinorDelta(Comparable minorDelta)
Parameters
| Type | Name | Description |
|---|---|---|
| Comparable | minorDelta | The new Minor Delta value |
setMinorGridLineStyle(PenStyle minorGridLineStyle)
Sets the style which is used to draw all minor grid lines on this axis
Declaration
public abstract void setMinorGridLineStyle(PenStyle minorGridLineStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| PenStyle | minorGridLineStyle | The new minor grid line style |
setMinorTickLineLength(float minorTickLineLength)
Sets the the length of all minor ticks on this axis
Declaration
public abstract void setMinorTickLineLength(float minorTickLineLength)
Parameters
| Type | Name | Description |
|---|---|---|
| float | minorTickLineLength | The new minor tick line length in pixels |
setMinorTickLineStyle(PenStyle minorTickLineStyle)
Sets the style which is used to draw all minor ticks on this axis
Declaration
public abstract void setMinorTickLineStyle(PenStyle minorTickLineStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| PenStyle | minorTickLineStyle | The new minor tick line style |
setMinorsPerMajor(int minorsPerMajors)
Sets the number of Minor Delta ticks per Major Tick
Declaration
public abstract void setMinorsPerMajor(int minorsPerMajors)
Parameters
| Type | Name | Description |
|---|---|---|
| int | minorsPerMajors | The new minorsPerMajors value |
setTextFormatting(String textFormatting)
Sets the Text Formatting String for Axis Tick Labels on this axis
Declaration
public abstract void setTextFormatting(String textFormatting)
Parameters
| Type | Name | Description |
|---|---|---|
| String | textFormatting | The new text formatting |
setTickCoordinatesProvider(tickCoordinatesProviders.ITickCoordinatesProvider tickCoordinatesProvider)
Sets a ITickCoordinatesProvider instance on current axis, which is used to transform the data-values received from the com.scichart.charting.numerics.tickProviders.ITickProvider instance to the coordinates for Axis Grid Lines, Ticks and Labels drawing.
Declaration
public abstract void setTickCoordinatesProvider(tickCoordinatesProviders.ITickCoordinatesProvider tickCoordinatesProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| tickCoordinatesProviders.ITickCoordinatesProvider | tickCoordinatesProvider | The new tick coordinates provider |
setTickProvider(tickProviders.ITickProvider tickProvider)
Sets a com.scichart.charting.numerics.tickProviders.ITickProvider instance on current axis, which is used to compute the data-values of Axis Grid Lines, Ticks and Labels.
Declaration
public abstract void setTickProvider(tickProviders.ITickProvider tickProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| tickProviders.ITickProvider | tickProvider | The new tick provider |
setVisibility(int visibility)
Sets visibility of this axis
Declaration
public abstract void setVisibility(int visibility)
Parameters
| Type | Name | Description |
|---|---|---|
| int | visibility | The new visibility value |
setVisibleRange(IRange visibleRange)
Sets the VisibleRange of the Axis. Note: Setting the VisibleRange will cause the axis to redraw
Declaration
public abstract void setVisibleRange(IRange visibleRange)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | visibleRange | The new VisibleRange value |
setVisibleRangeChangeListener(VisibleRangeChangeListener listener)
Sets VisibleRangeChangeListener for this axis instance
Declaration
public abstract void setVisibleRangeChangeListener(VisibleRangeChangeListener listener)
Parameters
| Type | Name | Description |
|---|---|---|
| VisibleRangeChangeListener | listener | The listener to set |
setVisibleRangeLimit(IRange visibleRangeLimit)
Sets the VisibleRangeLimit of the Axis. This will be used to clip the axis during ZoomExtents and AutoRange operations
Declaration
public abstract void setVisibleRangeLimit(IRange visibleRangeLimit)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | visibleRangeLimit | The new VisibleRangeLimit value |
setVisibleRangeLimitMode(RangeClipMode visibleRangeLimitMode)
the VisibleRangeLimitMode of the Axis. This property defines which parts of IAxis#getVisibleRangeLimit() will be used by axis
Declaration
public abstract void setVisibleRangeLimitMode(RangeClipMode visibleRangeLimitMode)
Parameters
| Type | Name | Description |
|---|---|---|
| RangeClipMode | visibleRangeLimitMode | The new VisibleRangeLimitMode value |