Class TradeChartAxisLabelProvider
Default label provider which is used by CategoryDateAxis class
Inheritance
TradeChartAxisLabelProvider
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class TradeChartAxisLabelProvider extends labelProviders.CategoryLabelProviderBase<CategoryDateAxis>
Constructors
TradeChartAxisLabelProvider()
Creates a new instance of TradeChartAxisLabelProvider class
Declaration
public TradeChartAxisLabelProvider()
TradeChartAxisLabelProvider(labelProviders.ILabelFormatter<CategoryDateAxis> labelFormatter)
Creates a new instance of TradeChartAxisLabelProvider class
Declaration
public TradeChartAxisLabelProvider(labelProviders.ILabelFormatter<CategoryDateAxis> labelFormatter)
Parameters
| Type | Name | Description |
|---|---|---|
| ILabelFormatter<CategoryDateAxis> | labelFormatter | The ILabelFormatter used by this label provider |
Methods
transformDataToIndexInternal(double dataValue, SearchMode mode, ISciList<?> xValues, boolean isXValuesSorted)
Finds index of the data-value in the point-series using corresponding SearchMode
Declaration
protected int transformDataToIndexInternal(double dataValue, SearchMode mode, ISciList<?> xValues, boolean isXValuesSorted)
Parameters
| Type | Name | Description |
|---|---|---|
| double | dataValue | |
| SearchMode | mode | |
| ISciList<?> | xValues | |
| boolean | isXValuesSorted |
Returns
| Type | Description |
|---|---|
| int |
Overrides
transformIndexToDataInternal(int index, ISciList<?> xValues)
Finds the dataValue based on it's index in the corresponding xValues collection.
Declaration
protected double transformIndexToDataInternal(int index, ISciList<?> xValues)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | |
| ISciList<?> | xValues |
Returns
| Type | Description |
|---|---|
| double |
Overrides
updateBarTimeFrame(CategoryDateAxis axis, ISciList<?> baseXValues)
Updates this label provider with new data
Declaration
protected double updateBarTimeFrame(CategoryDateAxis axis, ISciList<?> baseXValues)
Parameters
| Type | Name | Description |
|---|---|---|
| CategoryDateAxis | axis | |
| ISciList<?> | baseXValues |
Returns
| Type | Description |
|---|---|
| double |