Gets or sets the maximum number of Y-values a Series object's DataPoint objects can have. This property supports using values that range from 1 to 32, setting a value that is outside of this acceptable range will throw an ArgumentOutOfRangeException exception.
Number of Y values stored for each Data Point.
Visual Basic (Declaration) | |
---|---|
Public Property YValuesPerPoint As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int YValuesPerPoint {get; set;} |
Return Value
A value that represents the maximum number of Y-values that a series' data points can have. Defaults to one (1).
Adding a DataPoint object to a Series object that has more Y-values than this property specifies will result in the excess Y-values being ignored.
The number of Y-values that are required to properly display a chart depends on the chart type in question. For details concerning the number of Y-values required to display the various chart types refer to the Data Requirements topic.
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