Represents a data point, which is stored in the DataPointCollection class.
Stores values and attributes of one Data Point in the Data series.
Visual Basic (Declaration) | |
---|---|
Public Class DataPoint Inherits DataPointAttributes Implements A |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DataPoint : DataPointAttributes, A |
Represents a data point, stored in the DataPointCollection class.
This class stores attributes of data as well as point values. For example, a data point has a value, and also has a color attribute, background image attribute, a background gradient attribute, etc. For more information concerning data attributes see the DataPointAttributes class overview topic.
The Series object that data points belong to (the Series.DataPointCollection property) also has data attributes. For a detailed explanation of how data is displayed refer to the Appearance of Data topic.
Each data point consists of an X-value and one or more Y-values. The X-value can be zero, or you can set this explicitly. The Y-value(s) is/are usually set to the value(s) of the data points.
The Y-value for all chart types is one value except for bubble, candlestick and stock charts. These chart types require more than one Y-value since one data point consists of multiple values. For example, to plot one stock chart column four values are required: high, low, open and close values respectively. For further details concerning data requirements see either the Chart Types Overview topic or the Data Requirements for All Chart Types topic.
Data can be added at either design-time or run-time, and you can also use data-binding at run-time.
System.Object
Dundas.Charting.WebControl.DataPointAttributes
Dundas.Charting.WebControl.DataPoint
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family