Class TickProvider
Abstract base implementation of com.scichart.charting.numerics.tickProviders.ITickProvider
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class TickProvider extends AxisProviderBase<IAxisCore> implements tickProviders.ITickProvider
Constructors
TickProvider()
Declaration
public TickProvider()
Methods
getTicks()
Returns double representation of ticks for IAxis
Declaration
public final tickProviders.AxisTicks getTicks()
Returns
| Type | Description |
|---|---|
| tickProviders.AxisTicks |
isFirstMajorTickEven(DoubleValues majorTicks)
Gets the value indicating whether the first major tick is even
Declaration
protected boolean isFirstMajorTickEven(DoubleValues majorTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| DoubleValues | majorTicks | The major ticks |
Returns
| Type | Description |
|---|---|
| boolean | True if first major tick is even |
shouldUpdateTicks()
Returns whether tick provider should be updated
Declaration
protected boolean shouldUpdateTicks()
Returns
| Type | Description |
|---|---|
| boolean | If true tick provider should be updated, otherwise it should be cleared |
update()
Updates provider with new data
Declaration
public final void update()
updateCullingPriorities(IntegerValues cullingPriorities, DoubleValues majorTicks)
Updates major tick culling priorities which are used during culling of axis tick labels
Declaration
protected void updateCullingPriorities(IntegerValues cullingPriorities, DoubleValues majorTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| IntegerValues | cullingPriorities | The culling priorities to update |
| DoubleValues | majorTicks | The major ticks |
updateInternal()
Updates tick provider
Declaration
protected void updateInternal()
updateTicks(DoubleValues minorTicks, DoubleValues majorTicks)
Updates major and minor tick values
Declaration
protected abstract void updateTicks(DoubleValues minorTicks, DoubleValues majorTicks)
Parameters
| Type | Name | Description |
|---|---|---|
| DoubleValues | minorTicks | The minor ticks to update |
| DoubleValues | majorTicks | The major ticks to update |