Class SeriesInfoProviderBase<TRenderableSeries,TSeriesInfo>
Defines a base class for ISeriesInfoProvider implementors.
Inheritance
SeriesInfoProviderBase<TRenderableSeries,TSeriesInfo>
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class SeriesInfoProviderBase<TRenderableSeries,TSeriesInfo> extends renderableSeries.RenderableSeriesProviderBase<TRenderableSeries> implements renderableSeries.hitTest.ISeriesInfoProvider
Type Parameters
Name | Description |
---|---|
TRenderableSeries | |
TSeriesInfo |
Constructors
SeriesInfoProviderBase(Class<TRenderableSeries> renderableSeriesType)
Declaration
protected SeriesInfoProviderBase(Class<TRenderableSeries> renderableSeriesType)
Parameters
Type | Name | Description |
---|---|---|
Class<TRenderableSeries> | renderableSeriesType |
Methods
getSeriesInfo()
Creates SeriesInfo instance which is attached to current IRenderableSeries.
Declaration
public final renderableSeries.hitTest.SeriesInfo getSeriesInfo()
Returns
Type | Description |
---|---|
SeriesInfo |
getSeriesInfoInternal()
Declaration
protected abstract TSeriesInfo getSeriesInfoInternal()
Returns
Type | Description |
---|---|
TSeriesInfo |
getSeriesTooltip()
Creates ISeriesTooltip instance which is attached to current IRenderableSeries.
Declaration
public final renderableSeriesISeriesTooltip getSeriesTooltip()
Returns
Type | Description |
---|---|
renderableSeriesISeriesTooltip |
getSeriesTooltip(Class<?> modifierType)
Creates ISeriesTooltip instance for specified tooltipId
which is attached to current IRenderableSeries.
Declaration
public final renderableSeriesISeriesTooltip getSeriesTooltip(Class<?> modifierType)
Parameters
Type | Name | Description |
---|---|---|
Class<?> | modifierType |
Returns
Type | Description |
---|---|
renderableSeriesISeriesTooltip |
getSeriesTooltipInternal(Context context, TSeriesInfo seriesInfo, Class<?> modifierType)
Creates a new ISeriesTooltip.
Declaration
protected abstract renderableSeriesISeriesTooltip getSeriesTooltipInternal(Context context, TSeriesInfo seriesInfo, Class<?> modifierType)
Parameters
Type | Name | Description |
---|---|---|
android.content.Context | context | The context of application. |
TSeriesInfo | seriesInfo | The series info instance. |
Class<?> | modifierType | The type of modifier for which tooltip will be created. |
Returns
Type | Description |
---|---|
renderableSeriesISeriesTooltip | The ISeriesTooltip instance. |
tryAddSeriesToLegendDataSource(List<renderableSeries.IRenderableSeries> legendDataSource)
When overridden in derived classes, should add all needed IRenderableSeries into legend data source.
Declaration
public void tryAddSeriesToLegendDataSource(List<renderableSeries.IRenderableSeries> legendDataSource)
Parameters
Type | Name | Description |
---|---|---|
List<IRenderableSeries> | legendDataSource |