[]
        
(Showing Draft Content)

C1.Android.Chart.ChartBase

ChartBase Class

Base class for FlexChart and FlexPie controls.

Inheritance
ChartBase
Namespace: C1.Android.Chart
Assembly: C1.Android.Chart.dll
Syntax
public abstract class ChartBase : FrameLayout, IChartBase, IStyleProvider, IPalette, IBrushConverter, IDependencyObject, IComponent, IDisposable

Constructors

Name Description
ChartBase(Context)

Creates an instance of ChartBase.

ChartBase(Context, IAttributeSet)

Creates an instance of ChartBase with context and attrs.

Fields

Name Description
AnimationModeProperty

Identifies the update animation dependency property.

BackgroundColorProperty

Identifies the BackgroundColor dependency property.

BindingProperty

Identifies the Binding dependency property.

CustomPaletteProperty

Identifies the CustomPalette dependency property.

FooterAlignmentProperty

Identifies the FooterAlignment dependency property.

FooterProperty

Identifies the Footer dependency property.

FooterStyleProperty

Identifies the FooterStyle dependency property.

HeaderAlignmentProperty

Identifies the HeaderAlignment dependency property.

HeaderProperty

Identifies the Header dependency property.

HeaderStyleProperty

Identifies the HeaderStyle dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

LegendItemStyleProperty

Identifies the LegendItemStyle dependency property.

LegendOrientationProperty

Identifies the LegendOrientation dependency property.

LegendPositionProperty

Identifies the LegendPosition dependency property.

LegendStyleProperty

Identifies the LegendStyle dependency property.

LegendTitleProperty

Identifies the LegendTitle dependency property.

LegendTitleStyleProperty

Identifies the LegendTitleStyle dependency property.

LegendToggleProperty

Identifies the LegendToggle dependency property.

LoadAnimationProperty

Identifies the load animation dependency property.

PaletteProperty

Identifies the Palette dependency property.

PlotStyleProperty

Identifies the PlotStyle dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

SelectionStyleProperty

Identifies the SelectionStyle dependency property.

ShowTooltipProperty

Identifies the ShowTooltip dependency property.

ToolTipContentProperty

Identifies the ToolTipContent dependency property.

ToolTipProperty

Identifies the ToolTip dependency property.

UpdateAnimationProperty

Identifies the update animation dependency property.

_dataChanged

Data changed flag.

_updating

Update count.

selectionDistance

Selection distance.

Properties

Name Description
AnimationMode

Gets or sets the update animation.

BackgroundColor

Gets or sets the BackgroundColor.

Behaviors

Gets the behaviors collection.

Binding

Gets or sets the name of the property that contains Y values for the series.

CustomPalette

Gets or sets the custom chart palette.

Gets or sets the chart footer text.

FooterAlignment

Gets or sets chart footer alignment.

FooterStyle

Gets or sets chart footer style.

Header

Gets or sets the chart header text.

HeaderAlignment

Gets or sets chart header alignment.

HeaderStyle

Gets or sets chart header style.

ItemsSource

Gets or sets the collection of objects that contains the series data.

LegendItemStyle

Gets or sets the legend item style.

LegendOrientation

Gets or sets the legend orientation.

LegendPosition

Gets or sets the chart legend position.

LegendStyle

Gets or sets the legend style.

LegendTitle

Gets or sets the legend title.

LegendTitleStyle

Gets or sets the legend title style.

LegendToggle

Gets or sets a value indicating whether clicking legend items toggles the series visibility in the chart.

LoadAnimation

Gets or sets the load animation.

Palette

Gets or sets the chart palette.

PlotStyle

Gets or sets chart plot area style.

SelectedIndex

Gets or sets the index of selected element.

SelectionMode

Gets or sets the chart selection mode.

SelectionStyle

Gets or sets the style of selected element.

ShowTooltip

Gets or sets the ShowTooltip.

Site

IComponent Site

ToolTip

Gets or sets the chart tooltip.

ToolTipContent

Gets or sets the chart tooltip content.

UpdateAnimation

Gets or sets the update animation.

Methods

Name Description
BeginUpdate()

Suspends notifications until the next call to EndUpdate.

DataPropertyChanged(object)

Fires when data property changes.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EndUpdate()

Resumes notifications suspended by calls to BeginUpdate.

GetContent(ChartHitTestInfo, string)
HitTest(C1Point)

Gets a ChartHitTestInfo object with information about the specified point.

Itemssource_CollectionChanged(object, NotifyCollectionChangedEventArgs)
License()

License.

OnItemsSourceChanged(object)

Called when ItemsSource changes.

OnLayout(bool, int, int, int, int)

Override the android view OnLayout methed to override the layout logic.

OnMeasure(int, int)
OnPointerPressed(C1TappedEventArgs)

Handle the point pressed event.

OnSelectionChanged()

Fires when selection changes.

OnSelectionChanged(EventArgs)

Called when selection was changed.

OnSelectionModePropertyChanged(ChartSelectionModeType, ChartSelectionModeType)

Fires when SelectionMode property changes.

OnSizeChanged(int, int, int, int)

Called after the size of the chart changed.

PropertyChanged()

Fires when property changes.

Refresh()

Refresh the chart.

TooltipChanged()

Fires when tooltip changes.

Events

Name Description
DataLabelsLoading

Fires when chart data labels are loading.

Disposed

IComponent Disposed event

Rendered

Fires after chart finishes rendering.

Rendering

Fires before chart starts rendering.

SelectionChanged

Fires after selected element was changed.

Tapped

Occurs for every touch event.

ToolTipLoading

Fires when chart toolTip is loading.