Series.YValueType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the type of Y-value data in the data points stored by a series.
public:
property System::Web::UI::DataVisualization::Charting::ChartValueType YValueType { System::Web::UI::DataVisualization::Charting::ChartValueType get(); void set(System::Web::UI::DataVisualization::Charting::ChartValueType value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SeriesYValueTypeConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.ChartValueType YValueType { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SeriesYValueTypeConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.YValueType : System.Web.UI.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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈