Series.XValueMember Property

.NET Framework (current version)
 

Gets or sets the member of the chart data source used to data bind to the X-value of the series.

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

[BindableAttribute(true)]
public string XValueMember { get; set; }

Property Value

Type: System.String

The member of the chart data source used to data bind to the X-value of the series.

This property accepts either the name of the member column or the ordinal value of the member column.

.NET Framework
Available since 4.0
Return to top
Show: