XYDiagram2D.DependentAxesYRange Property
Gets or sets whether the visual range of all Y-axes (axes of values) should be calculated only by values of points contained in the visual range of the X-axis (axis of arguments).
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.2.dll
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public DefaultBoolean DependentAxesYRange { get; set; }
Property Value
Type | Description |
---|---|
DefaultBoolean | The value that defines whether the y-axis visual range should be calculated based on the x-axis visual range. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
The DependentAxesYRange property can have the following values:
Value | Description |
---|---|
Default | The default behavior of the value visual range. |
True | The visual range should be calculated by the values of points contained in the visual range of the axis of arguments. |
False | The visual range should be calculated by all values. |
The following images demonstrates this property in action.
DependentAxesYRange = false | DependentAxesYRange = true |
---|---|
Note
The DependentAxesYRange and WholeRange.AlwaysShowZeroLevel properties are dependent. AlwaysShowZeroLevel is taken into account when the visual range is calculated.