Series::YValuesPerPoint Property

.NET Framework (current version)
 

Gets or sets the maximum number of Y-values that DataPoint objects in a Series are allowed to have.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
[BindableAttribute(true)]
property int YValuesPerPoint {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maximum number of Y-values that the data points in a series are allowed to have. The default value is one (1).

If you add a DataPoint object that has more Y-values than this property specifies, the excess Y-values will be ignored.

The number of Y-values that are required to properly display a chart depends on the chart type selected.

.NET Framework
Available since 4.0
Return to top
Show: