Class ChartSeries
Inherited Members
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
Constructors
ChartSeries()
Fields
DrawLinesToLabelsProperty
LabelFormatProperty
LabelRotationAngleProperty
LinesToLabelsColorProperty
PointSizeProperty
SyncLinesToLabelsColorProperty
Properties
Axes
Gets the axes.
Declaration
public virtual Axis[] Axes { get; }
Property Value
Axis[]
The axes. |
Implements
Bounds
Gets the bounds of the series
Declaration
public RectangleF Bounds { get; }
Property Value
System.
|
DataMember
Gets or sets the name of the list or table in the data source for which the Chart
Declaration
public string DataMember { get; set; }
Property Value
System.
|
DataPoints
Gets the data points.
Declaration
public ChartDataPointCollection DataPoints { get; }
Property Value
Chart The data points. |
DataSource
Gets or sets the data source of the Chart
Declaration
public object DataSource { get; set; }
Property Value
System.
|
DisplayMember
Gets or sets the display member.
Declaration
public string DisplayMember { get; set; }
Property Value
System. The display member. |
DrawLinesToLabels
Gets or sets a value indicating whether to draw lines between data points and labels.
Declaration
public bool DrawLinesToLabels { get; set; }
Property Value
System.
|
Family
Declaration
public virtual string Family { get; }
Property Value
System.
|
IsVisible
Gets or sets a value indicating whether this instance is visible.
Declaration
public override bool IsVisible { get; set; }
Property Value
System.
|
Overrides
Implements
LabelFormat
Gets or sets the format used to format all the labels present on the axis.
Declaration
public string LabelFormat { get; set; }
Property Value
System.
|
LabelFormatProvider
Gets or sets the format provider to be used for the labels of the axis.
Declaration
public IFormatProvider LabelFormatProvider { get; set; }
Property Value
System.
|
LabelRotationAngle
Gets or sets the label rotation angle.
Declaration
public double LabelRotationAngle { get; set; }
Property Value
System. 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
System. The color of the lines. |
Model
Gets the model.
Declaration
public abstract ChartSeriesModel Model { get; }
Property Value
Chart The model. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
System. The name. |
Palette
Gets or sets the palette.
Declaration
public PaletteEntry Palette { get; set; }
Property Value
Palette The palette. |
PointSize
Gets or sets the size of the points of the series
Declaration
public SizeF PointSize { get; set; }
Property Value
System.
|
SelectedStyle
Gets the selected style.
Declaration
public virtual ChartStyle SelectedStyle { get; }
Property Value
Chart The selected style. |
ShowLabels
Gets or sets a value indicating whether the series will display a label associated with each data point.
Declaration
public bool ShowLabels { get; set; }
Property Value
System.
|
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
System.
|
TrackballFormatString
Gets the trackball format string.
Declaration
protected virtual string TrackballFormatString { get; }
Property Value
System. The trackball format string. |
Methods
ApplyStyleSettingsCore(PropertySettingGroup)
Applies the style settings.
Declaration
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
Parameters
Property The group. |
Overrides
BindMembers()
Binds the members.
Declaration
protected virtual void BindMembers()
CreateDataPoint()
CreateDataPointElement(DataPoint)
Creates the data point element.
Declaration
protected DataPointElement CreateDataPointElement(DataPoint point)
Parameters
Data The point. |
Returns
CreateDataPointElementCollection()
Creates the data point element collection.
Declaration
protected virtual ChartElementCollection CreateDataPointElementCollection()
Returns
CreateDefaultDataPoint()
CreateModel()
Declaration
protected abstract ChartDataPointCollection CreateModel()
Returns
CreatePointElement(DataPoint)
Declaration
protected abstract DataPointElement CreatePointElement(DataPoint point)
Parameters
Data
|
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
Chart The area. |
GetDefaultTrackballTextForPoint(DataPoint)
Gets the default trackball text for point.
Declaration
protected virtual string GetDefaultTrackballTextForPoint(DataPoint point)
Parameters
Data The point. |
Returns
System.
|
GetElement(Point)
Gets the element.
Declaration
public DataPointElement GetElement(Point pt)
Parameters
System. The pt. |
Returns
GetStyleIndex()
Gets the index of the style.
Declaration
protected virtual int GetStyleIndex()
Returns
System.
|
HitTest(Int32, Int32)
Returns the DataPoint that hits the x,y coordinates.
Declaration
public DataPoint HitTest(int x, int y)
Parameters
System. The x. |
System. The y. |
Returns
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
UIChart The parent. |
Overrides
OnCreatePoint(ChartViewCreatePointEventArgs)
Raises the Create
Declaration
protected virtual void OnCreatePoint(ChartViewCreatePointEventArgs e)
Parameters
Chart The Chart |
OnDataPointIsSelectedChanged(DataPoint)
Occurs when a Data
Declaration
public void OnDataPointIsSelectedChanged(DataPoint point)
Parameters
Data
|
Implements
OnDettached()
Called when [dettached].
Declaration
protected override void OnDettached()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs)
Declaration
protected virtual void OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs e)
Parameters
Refresh()
Refreshes the UIChartElement.
Declaration
public override void Refresh()
Overrides
ValidatePoint(DataPoint)
Validates the point.
Declaration
protected virtual void ValidatePoint(DataPoint item)
Parameters
Data The item. |
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event ChartViewCreatePointEventHandler CreatePoint
Event Type
TrackballPointTextNeeded
When the trackball is shown, this event is fired for every point that is being currently shown.
Declaration
public event TrackballPointTextNeededEventHandler TrackballPointTextNeeded