C# Class LiveCharts.Uwp.Series

Base WPF and WinForms series, this class is abstract
Inheritance: Windows.UI.Xaml.FrameworkElement, ISeriesView
Show file Open project: beto-rodriguez/Live-Charts

Public Properties

Property Type Description
ConfigurationProperty Windows.UI.Xaml.DependencyProperty
DataLabelsProperty Windows.UI.Xaml.DependencyProperty
FillProperty Windows.UI.Xaml.DependencyProperty
FontFamilyProperty Windows.UI.Xaml.DependencyProperty
FontSizeProperty Windows.UI.Xaml.DependencyProperty
FontStretchProperty Windows.UI.Xaml.DependencyProperty
FontStyleProperty Windows.UI.Xaml.DependencyProperty
FontWeightProperty Windows.UI.Xaml.DependencyProperty
ForegroundProperty Windows.UI.Xaml.DependencyProperty
LabelPointProperty Windows.UI.Xaml.DependencyProperty
PointGeometryProperty Windows.UI.Xaml.DependencyProperty
ScalesXAtProperty Windows.UI.Xaml.DependencyProperty
ScalesYAtProperty Windows.UI.Xaml.DependencyProperty
StrokeDashArrayProperty Windows.UI.Xaml.DependencyProperty
StrokeProperty Windows.UI.Xaml.DependencyProperty
StrokeThicknessProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty
ValuesProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
BindATextBlock Windows.UI.Xaml.Controls.TextBlock
GetValuesForDesigner IChartValues
OnIsVisibleChanged void
OnValuesInstanceChanged void

Public Methods

Method Description
DrawSpecializedElements ( ) : void

Defines special elements to draw according to the series type

Erase ( bool removeFromView = true ) : void

Erases series

GetLabelPointFormatter ( ) : string>.Func

Gets the label point formatter.

GetPointView ( ChartPoint point, string label ) : IChartPointView

Gets the view of a given point

InitializeColors ( ) : void

Initializes the series colors if they are not set

OnSeriesUpdateStart ( ) : void

This method runs when the update starts

OnSeriesUpdatedFinish ( ) : void

This method runs when the update finishes

PlaceSpecializedElements ( ) : void

Places specializes items

Protected Methods

Method Description
CallChartUpdater ( bool animate = false ) : PropertyChangedCallback

Calls the chart updater.

Series ( ) : System

Initializes a new Instance of Series

Series ( object configuration ) : System

Initializes a new Instance of series, with a given configuration

Private Methods

Method Description
BindATextBlock ( int rotate ) : TextBlock
GetValuesForDesigner ( ) : IChartValues
OnIsVisibleChanged ( DependencyObject sender, DependencyProperty e ) : void
OnValuesInstanceChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void

Method Details

CallChartUpdater() protected static method

Calls the chart updater.
protected static CallChartUpdater ( bool animate = false ) : PropertyChangedCallback
animate bool if set to true [animate].
return PropertyChangedCallback

DrawSpecializedElements() public method

Defines special elements to draw according to the series type
public DrawSpecializedElements ( ) : void
return void

Erase() public method

Erases series
public Erase ( bool removeFromView = true ) : void
removeFromView bool
return void

GetLabelPointFormatter() public method

Gets the label point formatter.
public GetLabelPointFormatter ( ) : string>.Func
return string>.Func

GetPointView() public method

Gets the view of a given point
public GetPointView ( ChartPoint point, string label ) : IChartPointView
point ChartPoint
label string
return IChartPointView

InitializeColors() public method

Initializes the series colors if they are not set
public InitializeColors ( ) : void
return void

OnSeriesUpdateStart() public method

This method runs when the update starts
public OnSeriesUpdateStart ( ) : void
return void

OnSeriesUpdatedFinish() public method

This method runs when the update finishes
public OnSeriesUpdatedFinish ( ) : void
return void

PlaceSpecializedElements() public method

Places specializes items
public PlaceSpecializedElements ( ) : void
return void

Series() protected method

Initializes a new Instance of Series
protected Series ( ) : System
return System

Series() protected method

Initializes a new Instance of series, with a given configuration
protected Series ( object configuration ) : System
configuration object
return System

Property Details

ConfigurationProperty public static property

The configuration property
public static DependencyProperty,Windows.UI.Xaml ConfigurationProperty
return Windows.UI.Xaml.DependencyProperty

DataLabelsProperty public static property

The data labels property
public static DependencyProperty,Windows.UI.Xaml DataLabelsProperty
return Windows.UI.Xaml.DependencyProperty

FillProperty public static property

The fill property
public static DependencyProperty,Windows.UI.Xaml FillProperty
return Windows.UI.Xaml.DependencyProperty

FontFamilyProperty public static property

The font family property
public static DependencyProperty,Windows.UI.Xaml FontFamilyProperty
return Windows.UI.Xaml.DependencyProperty

FontSizeProperty public static property

The font size property
public static DependencyProperty,Windows.UI.Xaml FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

FontStretchProperty public static property

The font stretch property
public static DependencyProperty,Windows.UI.Xaml FontStretchProperty
return Windows.UI.Xaml.DependencyProperty

FontStyleProperty public static property

The font style property
public static DependencyProperty,Windows.UI.Xaml FontStyleProperty
return Windows.UI.Xaml.DependencyProperty

FontWeightProperty public static property

The font weight property
public static DependencyProperty,Windows.UI.Xaml FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

ForegroundProperty public static property

The foreground property
public static DependencyProperty,Windows.UI.Xaml ForegroundProperty
return Windows.UI.Xaml.DependencyProperty

LabelPointProperty public static property

The label point property
public static DependencyProperty,Windows.UI.Xaml LabelPointProperty
return Windows.UI.Xaml.DependencyProperty

PointGeometryProperty public static property

The point geometry property
public static DependencyProperty,Windows.UI.Xaml PointGeometryProperty
return Windows.UI.Xaml.DependencyProperty

ScalesXAtProperty public static property

The scales x at property
public static DependencyProperty,Windows.UI.Xaml ScalesXAtProperty
return Windows.UI.Xaml.DependencyProperty

ScalesYAtProperty public static property

The scales y at property
public static DependencyProperty,Windows.UI.Xaml ScalesYAtProperty
return Windows.UI.Xaml.DependencyProperty

StrokeDashArrayProperty public static property

The stroke dash array property
public static DependencyProperty,Windows.UI.Xaml StrokeDashArrayProperty
return Windows.UI.Xaml.DependencyProperty

StrokeProperty public static property

The stroke property
public static DependencyProperty,Windows.UI.Xaml StrokeProperty
return Windows.UI.Xaml.DependencyProperty

StrokeThicknessProperty public static property

The stroke thickness property
public static DependencyProperty,Windows.UI.Xaml StrokeThicknessProperty
return Windows.UI.Xaml.DependencyProperty

TitleProperty public static property

The title property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
return Windows.UI.Xaml.DependencyProperty

ValuesProperty public static property

The values property
public static DependencyProperty,Windows.UI.Xaml ValuesProperty
return Windows.UI.Xaml.DependencyProperty