ClassChartSeries
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public abstract class ChartSeries : UIChartElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider
Inheritance: objectDisposableObjectRadObjectUIChartElementChartSeries
Derived Classes:
Implements:
Inherited Members
Constructors
ChartSeries()
Initializes a new instance of the ChartSeries class.
Declaration
public ChartSeries()
Fields
DrawLinesToLabelsProperty
Declaration
public static RadProperty DrawLinesToLabelsProperty
Field Value
LabelRotationAngleProperty
Declaration
public static RadProperty LabelRotationAngleProperty
Field Value
LinesToLabelsColorProperty
Declaration
public static RadProperty LinesToLabelsColorProperty
Field Value
SyncLinesToLabelsColorProperty
Declaration
public static RadProperty SyncLinesToLabelsColorProperty
Field Value
Properties
Axes
Gets the axes.
Declaration
[Browsable(false)]
public virtual Axis[] Axes { get; }
Property Value
Axis[]
The axes.
Implements
Bounds
Gets the bounds of the series
Declaration
[Browsable(false)]
public RectangleF Bounds { get; }
Property Value
DataMember
Gets or sets the name of the list or table in the data source for which the ChartSeries is bound.
Declaration
[Browsable(true)]
public string DataMember { get; set; }
Property Value
DataPoints
Gets the data points.
Declaration
[Browsable(true)]
public ChartDataPointCollection DataPoints { get; }
Property Value
The data points.
DataSource
Gets or sets the data source of the ChartSeries.
DisplayMember
Gets or sets the display member.
Declaration
[Browsable(true)]
public string DisplayMember { get; set; }
Property Value
The display member.
DrawLinesToLabels
Gets or sets a value indicating whether to draw lines between data points and labels.
Family
Declaration
[Browsable(false)]
public virtual string Family { get; }
Property Value
IsVisible
Gets or sets a value indicating whether this instance is visible.
Declaration
public override bool IsVisible { get; set; }
Property Value
Overrides
Implements
LabelFormat
Gets or sets the format used to format all the labels present on the axis.
LabelFormatProvider
Gets or sets the format provider to be used for the labels of the axis.
Declaration
[Browsable(false)]
public IFormatProvider LabelFormatProvider { get; set; }
Property Value
LabelRotationAngle
Gets or sets the label rotation angle.
Declaration
public double LabelRotationAngle { get; set; }
Property Value
The label rotation angle.
LinesToLabelsColor
Gets or sets the color of the lines connecting data points to their labels.
Declaration
public Color LinesToLabelsColor { get; set; }
Property Value
The color of the lines.
Model
Gets the model.
Declaration
[Browsable(false)]
public abstract ChartSeriesModel Model { get; }
Property Value
The model.
Name
Gets or sets the name.
Declaration
[Browsable(true)]
public string Name { get; set; }
Property Value
The name.
Palette
Gets or sets the palette.
Declaration
[Browsable(false)]
public PaletteEntry Palette { get; set; }
Property Value
The palette.
PointSize
Gets or sets the size of the points of the series
SelectedStyle
Gets the selected style.
Declaration
[Browsable(false)]
public virtual ChartStyle SelectedStyle { get; }
Property Value
The selected style.
ShowLabels
Gets or sets a value indicating whether the series will display a label associated with each data point.
SyncLinesToLabelsColor
Gets or sets a value indicating whether to sync the color of the line connecting a data point and its label.
Declaration
public bool SyncLinesToLabelsColor { get; set; }
Property Value
true if color is synced; otherwise, false.
TrackballFormatString
Gets the trackball format string.
Declaration
protected virtual string TrackballFormatString { get; }
Property Value
The trackball format string.
Methods
ApplyStyleSettingsCore(PropertySettingGroup)
Applies the style settings.
Declaration
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
Parameters
group
The group.
Overrides
CreateDataPoint()
Creates the data point.
CreateDataPointElement(DataPoint)
Creates the data point element.
Declaration
protected DataPointElement CreateDataPointElement(DataPoint point)
Parameters
point
The point.
Returns
CreateDataPointElementCollection()
Creates the data point element collection.
Declaration
protected virtual ChartElementCollection CreateDataPointElementCollection()
Returns
CreateDefaultDataPoint()
Declaration
protected abstract DataPoint CreateDefaultDataPoint()
Returns
CreateModel()
Declaration
protected abstract ChartDataPointCollection CreateModel()
Returns
CreatePointElement(DataPoint)
Declaration
protected abstract DataPointElement CreatePointElement(DataPoint point)
Parameters
point
Returns
DisposeManagedResources()
Disposes managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
EnsureVisualState(ChartArea)
Ensures the visual state.
Declaration
protected virtual void EnsureVisualState(ChartArea area)
Parameters
area
The area.
GetDefaultTrackballTextForPoint(DataPoint)
Gets the default trackball text for point.
GetElement(Point)
Gets the element.
Declaration
public DataPointElement GetElement(Point pt)
Parameters
pt
The pt.
Returns
GetStyleIndex()
Gets the index of the style.
HitTest(int, int)
Returns the DataPoint that hits the x,y coordinates.
OnApplyPalette()
Called when the palette is applied.
Declaration
protected virtual void OnApplyPalette()
OnAttached(UIChartElement)
Called when [attached].
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
parent
The parent.
Overrides
OnCreatePoint(ChartViewCreatePointEventArgs)
Raises the event.
Declaration
protected virtual void OnCreatePoint(ChartViewCreatePointEventArgs e)
Parameters
e
The ChartViewCreatePointEventArgs instance containing the event data.
OnDataPointIsSelectedChanged(DataPoint)
Occurs when a DataPoint owned by the series has its IsSelected property changed.
Declaration
public void OnDataPointIsSelectedChanged(DataPoint point)
Parameters
point
Implements
OnDettached()
Called when [dettached].
Declaration
protected override void OnDettached()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing information about the property change.
Overrides
OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs)
Declaration
protected virtual void OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs e)
Parameters
e
Refresh()
Refreshes the UIChartElement.
Declaration
public override void Refresh()
Overrides
ValidatePoint(DataPoint)
Validates the point.
Declaration
protected virtual void ValidatePoint(DataPoint item)
Parameters
item
The item.
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event ChartViewCreatePointEventHandler CreatePoint
Event Value
TrackballPointTextNeeded
When the trackball is shown, this event is fired for every point that is being currently shown.
Declaration
public event TrackballPointTextNeededEventHandler TrackballPointTextNeeded
Event Value