Series.YAxisType 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 Y-axis type of a series.
public:
property System::Web::UI::DataVisualization::Charting::AxisType YAxisType { System::Web::UI::DataVisualization::Charting::AxisType get(); void set(System::Web::UI::DataVisualization::Charting::AxisType value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.DataVisualization.Charting.AxisType YAxisType { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.YAxisType : System.Web.UI.DataVisualization.Charting.AxisType with get, set
Public Property YAxisType As AxisType
Property Value
An AxisType enumeration value that determines if a series uses the primary or secondary Y-axis.
- Attributes
Remarks
The YAxisType property determines if a series is plotted using the primary or secondary Y-axis.
For all chart types except pie, doughnut, range bar, bar and stacked bar charts, the primary Y-axis is the left vertical axis, and the secondary axis is the right vertical axis. For bar and stacked bar charts, the primary axis is the lower horizontal axis, and the secondary Y-axis is the upper horizontal axis.
When data is plotted using the secondary Y-axis, you must use the AxisY2 property to set axis properties, and not the AxisY property.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈