Dundas Chart for Windows Forms
DataPoint Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : DataPoint Class


Represents a data point, which is stored in the DataPointCollection class.


Stores values and attributes of one Data Point in the Data series.

Syntax

Visual Basic (Declaration)  
Public Class DataPoint 
   Inherits DataPointAttributes
Visual Basic (Usage) Copy Code
Dim instance As DataPoint
C#  
public class DataPoint : DataPointAttributes 

Remarks

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.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.DataPointAttributes
      Dundas.Charting.WinControl.DataPoint

Requirements

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

See Also

© 2009 All Rights Reserved.