[]
        
(Showing Draft Content)

C1.WPF.C1Chart.DataSeries

DataSeries Class

Represents data series which contains a group of data values.

Namespace: C1.WPF.C1Chart
Assembly: C1.WPF.C1Chart.4.6.2.dll
Syntax
public class DataSeries : Canvas, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Remarks

The DataSeries class has the single set of data values.

Constructors

Name Description
DataSeries()

Initializes a new instance of DataSeries class.

Fields

Name Description
AggregateProperty

Identifies the Aggregate dependency property.

ChartTypeProperty

Identifies the ChartType dependency property.

ConnectionFillProperty

Identifies the ConnectionFill dependency property.

ConnectionProperty

Identifies the Connection dependency property.

ConnectionStrokeDashesProperty

Identifies the ConnectionStrokeDashes dependency property.

ConnectionStrokeProperty

Identifies the ConnectionStroke dependency property.

ConnectionStrokeThicknessProperty

Identifies the ConnectionStrokeThickness dependency property.

ConnectionStyleProperty

Identifies the ConnectionStyle dependency property.

DisplayProperty

Identifies the Display dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

LabelProperty

Identifies the Label dependency property.

PointLabelTemplateProperty

Identifies the PointLabelTemplate dependency property.

PointTooltipTemplateProperty

Identifies the PointTooltipTemplate dependency property.

SelectedItemLabelTemplateProperty

Using a DependencyProperty as the backing store for SelectedItemLabelTemplate. This enables animation, styling, binding, etc...

SelectedItemStyleProperty

Using a DependencyProperty as the backing store for SelectedItemStyle. This enables animation, styling, binding, etc...

SymbolFillProperty

Identifies the SymbolFill dependency property.

SymbolMarkerProperty

Identifies the SymbolMarker dependency property.

SymbolProperty

Identifies the Symbol dependency property.

SymbolSizeProperty

Identifies the SymbolSize dependency property.

SymbolStrokeDashesProperty

Identifies the SymbolStrokeDashes dependency property.

SymbolStrokeProperty

Identifies the SymbolStroke dependency property.

SymbolStrokeThicknessProperty

Identifies the SymbolStrokeThickness dependency property.

SymbolStyleProperty

Identifies the SymbolStyle dependency property.

ValuesSourceProperty

Identifies the ValueSource dependency property.

datavalues

Cached data values.

isTimeValues

Flags for time values.

listY

Temporary list of y-values.

previousDataValues

Cached data values.

xfmt

Stores default formats for x- and y- axes.

yfmt

Stores default formats for x- and y- axes.

Properties

Name Description
Aggregate

Gets or sets the value which specifies how to aggregate data for charting.

AggregateGroupSelector

Gets or sets the aggregate group selector.

AutoGenerated

Gets the value that indicates whether the data series was generated automatically.

AxisX

Gets or sets the name of auxiliary axis that is used as x-axis for the series.

AxisY

Gets or sets the name of auxiliary axis that is used as y-axis for the series.

ChartType

Gets or sets series-specific chart type. By default, chart type is defined by C1Chart.ChartType property.

Connection

Gets or sets the connection template which applies to whole set of data points of series.

ConnectionFill

Gets or sets the connection fill brush.

ConnectionStroke

Gets or sets the connection outline brush.

ConnectionStrokeDashes

Gets or sets the dash pattern of connection stroke.

ConnectionStrokeThickness

Gets or sets the connection outline thickness.

ConnectionStyle

Gets or sets the style of connection.

Display

Gets or sets the data series display.

ItemsSource

Gets or sets items source of data series.

Label

Gets or sets the text label of data series.

PointLabelTemplate

Gets or sets the template for data point label.

PointTooltipTemplate

Gets or sets the template for data point tooltip.

RenderMode

Gets or sets the render mode for the series.

SelectedItemLabelTemplate

Gets or sets the label template for selected plot element.

SelectedItemStyle

Gets or sets the style for selected plot element.

Symbol

Gets or sets the symbol template which applies to the each data point of the series.

SymbolFill

Gets or sets the symbol fill brush.

SymbolMarker

Gets or sets the symbol marker.

SymbolSize

Gets or sets the symbol size in pixels.

SymbolStroke

Gets or sets the symbol outline brush.

SymbolStrokeDashes

Gets or sets the dash pattern of symbol stroke.

SymbolStrokeThickness

Gets or sets the symbol outline thickness.

SymbolStyle

Gets or sets the style of symbol.

ValueBinding

Gets or sets the value binding.

Values

Gets or sets the data values collection.

ValuesSource

Gets or sets the data values source.

Methods

Name Description
AggregateValues(double[,])

Performs data aggregation.

GetDataValue(string, int)

Gets the data value with specified name at the specified index.

Invalidate()

Forces the data series repainting.

IsTimeData(List<object>)

Whether the list is time-values.

OnChangeValues(DependencyObject, DependencyPropertyChangedEventArgs)

Handles change values notification.

OnItemsSourceChanged(DependencyPropertyChangedEventArgs)

Called after items source was changed.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked when dependency property was changed.

OnSeriesChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when series was changed

ProcessValues(double[,])

Performs additional processing of data values.

ToString()

Returns string representation of the data series.

UpdateLabelPosition(PlotElement, FrameworkElement)

Updates label position.

Events

Name Description
PlotElementLoaded

Fires when plot element associated with this data series is loaded.

PlotElementUnloaded

Fires when plot element associated with this data series is unloaded.