New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public abstract class ChartSeries : UIChartElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider

Inheritance: objectDisposableObjectRadObjectUIChartElementChartSeries

Derived Classes: CartesianSeriesFunnelSeriesPieSeriesPolarSeries

Implements: IAxisProviderIBorderElementIBoxElementIBoxStyleIChartElementPresenterIChartSeriesICustomTypeDescriptorIDisposableIFillElementINotifyPropertyChangedIShapedElementIStylableElementIStylableNode...

Inherited Members UIChartElement.IsVisiblePropertyUIChartElement.ClassPropertyUIChartElement.VisualStatePropertyUIChartElement.IsMouseDownPropertyUIChartElement.IsMouseOverPropertyUIChartElement.FontPropertyUIChartElement.CustomFontPropertyUIChartElement.CustomFontSizePropertyUIChartElement.CustomFontStylePropertyUIChartElement.ForeColorPropertyUIChartElement.BackColorPropertyUIChartElement.BackColor2PropertyUIChartElement.BackColor3PropertyUIChartElement.BackColor4PropertyUIChartElement.NumberOfColorsPropertyUIChartElement.GradientStylePropertyUIChartElement.GradientAnglePropertyUIChartElement.GradientPercentagePropertyUIChartElement.GradientPercentage2PropertyUIChartElement.BorderBoxStylePropertyUIChartElement.BorderDrawModePropertyUIChartElement.BorderWidthPropertyUIChartElement.BorderLeftWidthPropertyUIChartElement.BorderRightWidthPropertyUIChartElement.BorderTopWidthPropertyUIChartElement.BorderBottomWidthPropertyUIChartElement.BorderGradientAnglePropertyUIChartElement.BorderGradientStylePropertyUIChartElement.BorderColorPropertyUIChartElement.BorderColor2PropertyUIChartElement.BorderColor3PropertyUIChartElement.BorderColor4PropertyUIChartElement.BorderInnerColorPropertyUIChartElement.BorderInnerColor2PropertyUIChartElement.BorderInnerColor3PropertyUIChartElement.BorderInnerColor4PropertyUIChartElement.BorderLeftColorPropertyUIChartElement.BorderTopColorPropertyUIChartElement.BorderRightColorPropertyUIChartElement.BorderBottomColorPropertyUIChartElement.BorderLeftShadowColorPropertyUIChartElement.BorderTopShadowColorPropertyUIChartElement.BorderRightShadowColorPropertyUIChartElement.BorderBottomShadowColorPropertyUIChartElement.BackgroundShapePropertyUIChartElement.BorderDashStylePropertyUIChartElement.BorderDashPatternPropertyUIChartElement.BorderCornerRadiusPropertyUIChartElement.ShapePropertyUIChartElement.PaddingPropertyUIChartElement.SmoothingModePropertyUIChartElement.GetValue(RadProperty)UIChartElement.Attach(UIChartElement)UIChartElement.Dettach()UIChartElement.Invalidate()UIChartElement.MeasureContentOverride(ChartNode, object)UIChartElement.DpiScaleChanged(SizeF)UIChartElement.GetScaledFont(float)UIChartElement.GetCurrentShape()UIChartElement.GetThemeEffectiveType()UIChartElement.ApplyStyle()UIChartElement.BuildVisualState()UIChartElement.AddStylePropertySetting(IPropertySetting)UIChartElement.ApplyStyleByIndex(PropertySettingGroup, int)UIChartElement.ParentUIChartElement.LevelUIChartElement.ChildrenUIChartElement.IsMouseDownUIChartElement.IsMouseOverUIChartElement.ViewUIChartElement.ForeColorUIChartElement.FontUIChartElement.BackColorUIChartElement.BackColor2UIChartElement.BackColor3UIChartElement.BackColor4UIChartElement.GradientStyleUIChartElement.GradientAngleUIChartElement.GradientPercentageUIChartElement.GradientPercentage2UIChartElement.NumberOfColorsUIChartElement.BorderLeftColorUIChartElement.BorderTopColorUIChartElement.BorderRightColorUIChartElement.BorderBottomColorUIChartElement.BorderLeftShadowColorUIChartElement.BorderTopShadowColorUIChartElement.BorderRightShadowColorUIChartElement.BorderBottomShadowColorUIChartElement.BorderBoxStyleUIChartElement.BorderDrawModeUIChartElement.BorderWidthUIChartElement.BorderLeftWidthUIChartElement.BorderTopWidthUIChartElement.BorderRightWidthUIChartElement.BorderBottomWidthUIChartElement.BorderGradientAngleUIChartElement.BorderGradientStyleUIChartElement.BorderColorUIChartElement.BorderColor2UIChartElement.BorderColor3UIChartElement.BorderColor4UIChartElement.BorderInnerColorUIChartElement.BorderInnerColor2UIChartElement.BorderInnerColor3UIChartElement.BorderInnerColor4UIChartElement.BorderDashStyleUIChartElement.BorderDashPatternUIChartElement.BorderCornerRadiusUIChartElement.SizeUIChartElement.ShapeUIChartElement.BackgroundShapeUIChartElement.PaddingUIChartElement.SmoothingModeUIChartElement.IsAttachedUIChartElement.DpiScaleFactorUIChartElement.ClassUIChartElement.VisualStateUIChartElement.ThemeRoleUIChartElement.ChildrenHierarchyUIChartElement.StyleUIChartElement.StateManagerUIChartElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the ChartSeries class.

C#
public ChartSeries()

Fields

C#
public static RadProperty DrawLinesToLabelsProperty
C#
public static RadProperty LabelFormatProperty
C#
public static RadProperty LabelRotationAngleProperty
C#
public static RadProperty LinesToLabelsColorProperty
C#
public static RadProperty PointSizeProperty
C#
public static RadProperty SyncLinesToLabelsColorProperty

Properties

Gets the axes.

C#
[Browsable(false)]
public virtual Axis[] Axes { get; }
Property Value:

The axes.

Implements: IAxisProvider.Axes

Gets the bounds of the series

C#
[Browsable(false)]
public RectangleF Bounds { get; }

Gets or sets the name of the list or table in the data source for which the ChartSeries is bound.

C#
[Browsable(true)]
public string DataMember { get; set; }

Gets the data points.

C#
[Browsable(true)]
public ChartDataPointCollection DataPoints { get; }
Property Value:

The data points.

Gets or sets the data source of the ChartSeries.

C#
public object DataSource { get; set; }

Gets or sets the display member.

C#
[Browsable(true)]
public string DisplayMember { get; set; }
Property Value:

The display member.

Gets or sets a value indicating whether to draw lines between data points and labels.

C#
public bool DrawLinesToLabels { get; set; }
C#
[Browsable(false)]
public virtual string Family { get; }

Gets or sets a value indicating whether this instance is visible.

C#
public override bool IsVisible { get; set; }

Overrides: UIChartElement.IsVisible

Implements: IChartElementPresenter.IsVisible

Gets or sets the format used to format all the labels present on the axis.

C#
public string LabelFormat { get; set; }

Gets or sets the format provider to be used for the labels of the axis.

C#
[Browsable(false)]
public IFormatProvider LabelFormatProvider { get; set; }

Gets or sets the label rotation angle.

C#
public double LabelRotationAngle { get; set; }
Property Value:

The label rotation angle.

Gets or sets the color of the lines connecting data points to their labels.

C#
public Color LinesToLabelsColor { get; set; }
Property Value:

The color of the lines.

Gets the model.

C#
[Browsable(false)]
public abstract ChartSeriesModel Model { get; }
Property Value:

The model.

Gets or sets the name.

C#
[Browsable(true)]
public string Name { get; set; }
Property Value:

The name.

Gets or sets the palette.

C#
[Browsable(false)]
public PaletteEntry Palette { get; set; }
Property Value:

The palette.

Gets or sets the size of the points of the series

C#
public SizeF PointSize { get; set; }

Gets the selected style.

C#
[Browsable(false)]
public virtual ChartStyle SelectedStyle { get; }
Property Value:

The selected style.

Gets or sets a value indicating whether the series will display a label associated with each data point.

C#
public bool ShowLabels { get; set; }

Gets or sets a value indicating whether to sync the color of the line connecting a data point and its label.

C#
public bool SyncLinesToLabelsColor { get; set; }
Property Value:

true if color is synced; otherwise, false.

Gets the trackball format string.

C#
protected virtual string TrackballFormatString { get; }
Property Value:

The trackball format string.

Methods

Applies the style settings.

C#
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
Parameters:groupPropertySettingGroup

The group.

Overrides: UIChartElement.ApplyStyleSettingsCore(PropertySettingGroup)

Binds the members.

C#
protected virtual void BindMembers()

Creates the data point.

C#
protected DataPoint CreateDataPoint()
Returns:

DataPoint

Creates the data point element.

C#
protected DataPointElement CreateDataPointElement(DataPoint point)
Parameters:pointDataPoint

The point.

Returns:

DataPointElement

Creates the data point element collection.

C#
protected virtual ChartElementCollection CreateDataPointElementCollection()
Returns:

ChartElementCollection

C#
protected abstract DataPoint CreateDefaultDataPoint()
Returns:

DataPoint

C#
protected abstract ChartDataPointCollection CreateModel()
Returns:

ChartDataPointCollection

C#
protected abstract DataPointElement CreatePointElement(DataPoint point)
Parameters:pointDataPointReturns:

DataPointElement

Disposes managed resources.

C#
protected override void DisposeManagedResources()

Overrides: RadObject.DisposeManagedResources()

Ensures the visual state.

C#
protected virtual void EnsureVisualState(ChartArea area)
Parameters:areaChartArea

The area.

Gets the default trackball text for point.

C#
protected virtual string GetDefaultTrackballTextForPoint(DataPoint point)
Parameters:pointDataPoint

The point.

Returns:

string

Gets the element.

C#
public DataPointElement GetElement(Point pt)
Parameters:ptPoint

The pt.

Returns:

DataPointElement

Gets the index of the style.

C#
protected virtual int GetStyleIndex()
Returns:

int

Returns the DataPoint that hits the x,y coordinates.

C#
public DataPoint HitTest(int x, int y)
Parameters:xint

The x.

yint

The y.

Returns:

DataPoint

Called when the palette is applied.

C#
protected virtual void OnApplyPalette()

Called when [attached].

C#
protected override void OnAttached(UIChartElement parent)
Parameters:parentUIChartElement

The parent.

Overrides: UIChartElement.OnAttached(UIChartElement)

Raises the event.

C#
protected virtual void OnCreatePoint(ChartViewCreatePointEventArgs e)
Parameters:eChartViewCreatePointEventArgs

The ChartViewCreatePointEventArgs instance containing the event data.

Occurs when a DataPoint owned by the series has its IsSelected property changed.

C#
public void OnDataPointIsSelectedChanged(DataPoint point)
Parameters:pointDataPoint

Implements: IChartSeries.OnDataPointIsSelectedChanged(DataPoint)

Called when [dettached].

C#
protected override void OnDettached()

Overrides: UIChartElement.OnDettached()

Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing information about the property change.

Overrides: UIChartElement.OnPropertyChanged(RadPropertyChangedEventArgs)

C#
protected virtual void OnTrackballPointTextNeeded(TrackballPointTextNeededEventArgs e)
Parameters:eTrackballPointTextNeededEventArgs

Refreshes the UIChartElement.

C#
public override void Refresh()

Overrides: UIChartElement.Refresh()

Validates the point.

C#
protected virtual void ValidatePoint(DataPoint item)
Parameters:itemDataPoint

The item.

Events

Occurs when a new DataPoint is created.

C#
public event ChartViewCreatePointEventHandler CreatePoint

When the trackball is shown, this event is fired for every point that is being currently shown.

C#
public event TrackballPointTextNeededEventHandler TrackballPointTextNeeded