ViewEventArgs.Axis 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 the Axis object that a view belongs to.
public:
property System::Windows::Forms::DataVisualization::Charting::Axis ^ Axis { System::Windows::Forms::DataVisualization::Charting::Axis ^ get(); };
public System.Windows.Forms.DataVisualization.Charting.Axis Axis { get; }
member this.Axis : System.Windows.Forms.DataVisualization.Charting.Axis
Public ReadOnly Property Axis As Axis
Property Value
An Axis object that represents the axis that a view belongs to.
Remarks
This property is exposed in the AxisViewChanged and AxisViewChanging events of the root Chart object.
This property can be used to:
Determine the type of axis - X, X2, Y or Y2 - that the event is being raised for, using the AxisName property.
Get and set axis properties, such as LineColor.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om