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.Drawing.RectangleF
|
DataMember
Gets or sets the name of the list or table in the data source for which the ChartSeries is bound.
Declaration
public string DataMember { get; set; }
Property Value
System.String
|
DataPoints
Gets the data points.
Declaration
public ChartDataPointCollection DataPoints { get; }
Property Value
ChartDataPointCollection
The data points. |
DataSource
Gets or sets the data source of the ChartSeries.
Declaration
public object DataSource { get; set; }
Property Value
System.Object
|
DisplayMember
Gets or sets the display member.
Declaration
public string DisplayMember { get; set; }
Property Value
System.String
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.Boolean
|
Family
Declaration
public virtual string Family { get; }
Property Value
System.String
|
IsVisible
Gets or sets a value indicating whether this instance is visible.
Declaration
public override bool IsVisible { get; set; }
Property Value
System.Boolean
|
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.String
|
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.IFormatProvider
|
LabelRotationAngle
Gets or sets the label rotation angle.
Declaration
public double LabelRotationAngle { get; set; }
Property Value
System.Double
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.Drawing.Color
The color of the lines. |
Model
Gets the model.
Declaration
public abstract ChartSeriesModel Model { get; }
Property Value
ChartSeriesModel
The model. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
System.String
The name. |
Palette
Gets or sets the palette.
Declaration
public PaletteEntry Palette { get; set; }
Property Value
PaletteEntry
The palette. |
PointSize
Gets or sets the size of the points of the series
Declaration
public SizeF PointSize { get; set; }
Property Value
System.Drawing.SizeF
|
SelectedStyle
Gets the selected style.
Declaration
public virtual ChartStyle SelectedStyle { get; }
Property Value
ChartStyle
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.Boolean
|
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.Boolean
|
TrackballFormatString
Gets the trackball format string.
Declaration
protected virtual string TrackballFormatString { get; }
Property Value
System.String
The trackball format string. |
Methods
ApplyStyleSettingsCore(PropertySettingGroup)
Applies the style settings.
Declaration
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
Parameters
PropertySettingGroup
group
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
DataPoint
point
The point. |
Returns
DataPointElement
|
CreateDataPointElementCollection()
Creates the data point element collection.
Declaration
protected virtual ChartElementCollection CreateDataPointElementCollection()
Returns
ChartElementCollection
|
CreateDefaultDataPoint()
CreateModel()
Declaration
protected abstract ChartDataPointCollection CreateModel()
Returns
ChartDataPointCollection
|
CreatePointElement(DataPoint)
Declaration
protected abstract DataPointElement CreatePointElement(DataPoint point)
Parameters
DataPoint
point
|
Returns
DataPointElement
|
DisposeManagedResources()
Disposes managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
EnsureVisualState(ChartArea)
Ensures the visual state.
Declaration
protected virtual void EnsureVisualState(ChartArea area)
Parameters
ChartArea
area
The area. |
GetDefaultTrackballTextForPoint(DataPoint)
Gets the default trackball text for point.
Declaration
protected virtual string GetDefaultTrackballTextForPoint(DataPoint point)
Parameters
DataPoint
point
The point. |
Returns
System.String
|
GetElement(Point)
Gets the element.
Declaration
public DataPointElement GetElement(Point pt)
Parameters
System.Drawing.Point
pt
The pt. |
Returns
DataPointElement
|
GetStyleIndex()
Gets the index of the style.
Declaration
protected virtual int GetStyleIndex()
Returns
System.Int32
|
HitTest(Int32, Int32)
Returns the DataPoint that hits the x,y coordinates.
Declaration
public DataPoint HitTest(int x, int y)
Parameters
System.Int32
x
The x. |
System.Int32
y
The y. |
Returns
DataPoint
|
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
UIChartElement
parent
The parent. |
Overrides
OnCreatePoint(ChartViewCreatePointEventArgs)
Raises the CreatePoint event.
Declaration
protected virtual void OnCreatePoint(ChartViewCreatePointEventArgs e)
Parameters
ChartViewCreatePointEventArgs
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
DataPoint
point
|
Implements
OnDettached()
Called when [dettached].
Declaration
protected override void OnDettached()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs)
Declaration
protected virtual void OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs e)
Parameters
TrackballPointTextNeededEventArgs
e
|
Refresh()
Refreshes the UIChartElement.
Declaration
public override void Refresh()
Overrides
ValidatePoint(DataPoint)
Validates the point.
Declaration
protected virtual void ValidatePoint(DataPoint item)
Parameters
DataPoint
item
The item. |
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event ChartViewCreatePointEventHandler CreatePoint
Event Type
ChartViewCreatePointEventHandler
|
TrackballPointTextNeeded
When the trackball is shown, this event is fired for every point that is being currently shown.
Declaration
public event TrackballPointTextNeededEventHandler TrackballPointTextNeeded
Event Type
TrackballPointTextNeededEventHandler
|