Muokkaa

Jaa


Series.YValueType Property

Definition

Gets or sets the type of Y-value data in the data points stored by a series.

public:
 property System::Windows::Forms::DataVisualization::Charting::ChartValueType YValueType { System::Windows::Forms::DataVisualization::Charting::ChartValueType get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartValueType value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.SeriesYValueTypeConverter))]
public System.Windows.Forms.DataVisualization.Charting.ChartValueType YValueType { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.SeriesYValueTypeConverter))>]
member this.YValueType : System.Windows.Forms.DataVisualization.Charting.ChartValueType with get, set
Public Property YValueType As ChartValueType

Property Value

A ChartValueType enumeration value that determines the type of Y-value data stored by the series. The default value is Auto.

Attributes

Remarks

The YValueType property determines the type of data stored by the series. The value of this property is normally set to either Auto or DateTime.

The IntervalType property found in axis label, tick mark, and grid classes determines the interval type.

This property can also be used to determine the data type to which the Y-values are bound.

It is possible to plot date expressions as the values of data points, though this is rarely done. If you set this property to DateTime, the Y-value can then entered as a DateTime value, and not as a Double. Date and time values are internally stored by .NET Framework as Double values.

Applies to