New to Telerik ReportingStart a free 30-day trial

Represents the base element of RadChart's series.

Definition

Constructors

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem()

Creates a new instance of the empty ChartSeriesItem class.

C#
public ChartSeriesItem(bool isEmpty)
Parameters:isEmptybool

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(ChartSeries parent)
Parameters:parentChartSeries

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double x, double y, double x2, double y2, double y3, double y4)
Parameters:xdoubleydoublex2doubley2doubley3doubley4double

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double x, double y, double x2, double y2)
Parameters:xdoubleydoublex2doubley2double

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double x, double y, StyleSeriesItem style)
Parameters:xdoubleydoublestyleStyleSeriesItem

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double x, double y)
Parameters:xdoubleydouble

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double value, string label, Color color, bool exploded)
Parameters:valuedoublelabelstringcolorColorexplodedbool

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double value, string label, Color color)
Parameters:valuedoublelabelstringcolorColor

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double value, string labelText)
Parameters:valuedoublelabelTextstring

Creates a new instance of the ChartSeriesItem class.

C#
public ChartSeriesItem(double value)
Parameters:valuedouble

Properties

Active region

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ActiveRegion ActiveRegion { get; set; }

Link to visualization and design properties

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleSeriesItem Appearance { get; }

Empty

bool

Is series item contains empty value

C#
public bool Empty { get; set; }

Index in items collection

C#
[Browsable(false)]
public int Index { get; }

Item label

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public SeriesItemLabel Label { get; }

Name

string

ChartSeriesItem name

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

Parent element

C#
[Browsable(false)]
public ChartSeries Parent { get; set; }

Point appearance settings

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleMarkerSeriesPoint PointAppearance { get; }

Specifies whether the series item should be rendered.

C#
public bool Visible { get; set; }

XValue

double

Main X value

C#
[TypeConverter(typeof(DoubleConverter2))]
public double XValue { get; set; }

XValue2

double

Second x value for item

C#
[TypeConverter(typeof(DoubleConverter2))]
[Browsable(true)]
public double XValue2 { get; set; }

YValue

double

Main Y value for item

C#
[TypeConverter(typeof(DoubleConverter2))]
[Browsable(true)]
[Bindable(true)]
public double YValue { get; set; }

YValue2

double

Second y value for item

C#
[TypeConverter(typeof(DoubleConverter2))]
public double YValue2 { get; set; }

YValue3

double

Third y value for item (could be used in CandleStick charts as High value)

C#
[TypeConverter(typeof(DoubleConverter2))]
public double YValue3 { get; set; }

YValue4

double

Fourth y value for item (could be used in CandleStick charts as Low value)

C#
[TypeConverter(typeof(DoubleConverter2))]
public double YValue4 { get; set; }

Methods

Clone()

object

Clone this object

C#
public object Clone()
Returns:

object

New instance of ChartSeriesItem class that is copy of this object

Releases unmanaged and - optionally - managed resources

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: StateManagedObject.Dispose(bool)

Loading ViewState data

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

ViewState with data

Overrides: StateManagedObject.LoadViewState(object)

Saving ViewState data

C#
protected override object SaveViewState()
Returns:

object

Saved in View state data

Overrides: StateManagedObject.SaveViewState()

Tracking ViewState data

C#
protected override void TrackViewState()

Overrides: StateManagedObject.TrackViewState()