vcl-dxchartxydiagram-dot-tdxchartrange-e6e27f3a.md
Specifies the maximum visible series argument or value, depending on the current axis.
property VisibleMax: Variant read; write;
| Type | Description |
|---|---|
| Variant |
The maximum visible series argument or value, depending on the current axis.
|
Range.VisibleMin and Range.VisibleMax properties of the axis of arguments (X-Axis) and the axis of values (Y-Axis) specify the minimum and maximum currently visible arguments and values. If Range.VisibleMin and Range.VisibleMax properties are unspecified, the visible diagram area corresponds to the zoom factor of 100%.
You can use Range.VisibleMin and Range.VisibleMax properties to reduce the range of the currently visible axis scale, that is, zoom the diagram along the current axis.
| VisibleMin | VisibleMax | Example[1] |
|---|---|---|
Unspecified (equivalent to -4)[2] | Unspecified (equivalent to 6)[3] | |
-1[4] | 3[4] |
| VisibleMin | VisibleMax | Example[5] |
|---|---|---|
Unspecified (equivalent to -5)[2] | Unspecified (equivalent to 6)[3] | |
-3[6] | 4[6] |
The VisibleMax property has no default value. If the VisibleMax property is unspecified, the maximum visible value is the sum of WholeMax and ActualSideMarginMax property values.
The VisibleMax property value cannot exceed the sum of WholeMin and ActualSideMarginMin property values.
Footnotes
This example demonstrates different VisibleMin and VisibleMax property values for the axis of arguments of the same XY diagram under the following conditions:
The unspecified VisibleMin property defines the minimum visible value as the difference between WholeMin and ActualSideMarginMin properties.
The unspecified VisibleMax property defines the maximum visible value as the sum of WholeMax and ActualSideMarginMax property values.
The visible portion of the scale on the axis of arguments is less than the available scale range along the axis of arguments. The XY diagram is zoomed in and centered along the axis of arguments.
This example demonstrates different VisibleMin and VisibleMax property values for the axis of values of the same XY diagram under the following conditions:
The visible portion of the scale on the axis of arguments is less than the available scale range along the axis of values. The XY diagram is zoomed in and centered along the axis of values.
See Also
TdxChartRange.WholeMax Property
TdxChartRange.SideMarginMax Property