Class ScatterSeries
Represents a scatter chart series that displays data points as individual markers positioned by two numeric values.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ScatterSeries : CartesianPointSeries, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider
Constructors
ScatterSeries()
ScatterSeries(SizeF)
Initializes a new instance of the ScatterSeries class with the specified point size.
Declaration
public ScatterSeries(SizeF pointSize)
Parameters
|
System.Drawing.SizeF
pointSize
The size of the data point markers. |
ScatterSeries(String, String)
Initializes a new instance of the ScatterSeries class with the specified X and Y value members.
Declaration
public ScatterSeries(string xValueMember, string yValueMember)
Parameters
|
System.String
xValueMember
The name of the property that contains the X coordinate values. |
|
System.String
yValueMember
The name of the property that contains the Y coordinate values. |
Properties
Model
Gets the data model that represents the scatter series structure and behavior.
Declaration
public override ChartSeriesModel Model { get; }
Property Value
|
ChartSeriesModel
|
Overrides
XValueMember
Gets or sets the name of the data source property that provides X coordinate values for the scatter points.
Declaration
public string XValueMember { get; set; }
Property Value
|
System.String
|
YValueMember
Gets or sets the name of the data source property that provides Y coordinate values for the scatter points.
Declaration
public string YValueMember { get; set; }
Property Value
|
System.String
|
Methods
BindMembers()
Binds the X and Y data members to the appropriate data point properties.
Declaration
protected override void BindMembers()
Overrides
CreateDefaultDataPoint()
Creates a default scatter data point for the series.
Declaration
protected override DataPoint CreateDefaultDataPoint()
Returns
|
DataPoint
A new DataPoint instance suitable for scatter charts. |
Overrides
CreateModel()
Creates the data model for the scatter series and initializes the data point collection.
Declaration
protected override ChartDataPointCollection CreateModel()
Returns
|
ChartDataPointCollection
A ChartDataPointCollection containing the scatter data points. |
Overrides
CreatePointElement(DataPoint)
Creates a visual element for the specified scatter data point.
Declaration
protected override DataPointElement CreatePointElement(DataPoint point)
Parameters
|
DataPoint
point
The data point for which to create the visual element. |
Returns
|
DataPointElement
A DataPointElement representing the scatter point marker. |
Overrides
GetDefaultTrackballTextForPoint(DataPoint)
Gets the default trackball text for the specified scatter data point.
Declaration
protected override string GetDefaultTrackballTextForPoint(DataPoint point)
Parameters
|
DataPoint
point
The data point for which to generate trackball text. |
Returns
|
System.String
A string containing the formatted X and Y coordinate values. |
Overrides
ValidatePoint(DataPoint)
Validates that the specified data point is compatible with this scatter series.
Declaration
protected override void ValidatePoint(DataPoint item)
Parameters
|
DataPoint
item
The data point to validate. |