Axis2D.SetVisibilityInPane(Boolean, XYDiagramPaneBase) Method
In This Article
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public void SetVisibilityInPane(
bool visible,
XYDiagramPaneBase pane
)
#Parameters
Name | Type | Description |
---|---|---|
visible | Boolean | true if the axis should be visible in the pane; otherwise, false. |
pane | XYDiagram |
An XYDiagram |
#Remarks
Use the SetVisibilityInPane method to set the Axis2D.VisibilityInPanes property at runtime, because accessing the Axis2D.VisibilityInPanes property at runtime will cause an exception.
Note that if the Axis2D.Visibility property of an axis is disabled, using the SetVisibilityInPane method has no effect, since the Axis2D.VisibilityInPanes property is ignored.
See Also