public abstract class TickProvider extends AxisProviderBase<IAxisCore> implements ITickProvider
ITickProvider
axis
Constructor and Description |
---|
TickProvider() |
Modifier and Type | Method and Description |
---|---|
AxisTicks |
getTicks()
Returns double representation of ticks for
IAxis |
protected boolean |
isFirstMajorTickEven(com.scichart.core.model.DoubleValues majorTicks)
Gets the value indicating whether the first major tick is even
|
protected boolean |
shouldUpdateTicks()
Returns whether tick provider should be updated
|
void |
update()
Updates provider with new data
|
protected void |
updateCullingPriorities(com.scichart.core.model.IntegerValues cullingPriorities,
com.scichart.core.model.DoubleValues majorTicks)
Updates major tick culling priorities which are used during culling of axis tick labels
|
protected void |
updateInternal()
Updates tick provider
|
protected abstract void |
updateTicks(com.scichart.core.model.DoubleValues minorTicks,
com.scichart.core.model.DoubleValues majorTicks)
Updates major and minor tick values
|
attachTo, detach, isAttached
public final AxisTicks getTicks()
IAxis
getTicks
in interface ITickProvider
AxisTicks
with minor and major tickspublic final void update()
update
in interface IAxisProviderBase
protected boolean shouldUpdateTicks()
protected void updateInternal()
protected abstract void updateTicks(com.scichart.core.model.DoubleValues minorTicks, com.scichart.core.model.DoubleValues majorTicks)
minorTicks
- The minor ticks to updatemajorTicks
- The major ticks to updateprotected void updateCullingPriorities(com.scichart.core.model.IntegerValues cullingPriorities, com.scichart.core.model.DoubleValues majorTicks)
cullingPriorities
- The culling priorities to updatemajorTicks
- The major ticksprotected boolean isFirstMajorTickEven(com.scichart.core.model.DoubleValues majorTicks)
majorTicks
- The major ticks