Class DefaultLegendItemBase
Defines a default legend items which contains
- TextView with name
- CheckBox for selection of series
- LegendPointMarker which draws series icon
Inheritance
DefaultLegendItemBase
Namespace:
Assembly: .dll
Syntax
public abstract class DefaultLegendItemBase extends LegendItemBase
Constructors
DefaultLegendItemBase(View itemView)
Declaration
protected DefaultLegendItemBase(View itemView)
Parameters
| Type |
Name |
Description |
| android.view.View |
itemView |
The View associated with this legend item
|
Fields
checkBox
Declaration
protected final CheckBox checkBox
Field Value
| Type |
Description |
| android.widget.CheckBox |
|
name
Declaration
protected final TextView name
Field Value
| Type |
Description |
| android.widget.TextView |
|
pointMarker
Declaration
protected final LegendPointMarker pointMarker
Field Value
Methods
applyThemeProvider(IThemeProvider themeProvider)
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
bindSource(Object source, SciChartLegend legend)
Declaration
public void bindSource(Object source, SciChartLegend legend)
Parameters
convertToVisibility(boolean isVisible)
Converts isVisible flag to visibility
Declaration
protected static int convertToVisibility(boolean isVisible)
Parameters
| Type |
Name |
Description |
| boolean |
isVisible |
The isVisible flag
|
Returns
| Type |
Description |
| int |
If true returns View#VISIBLE else View#GONE
|