TdxChartRange.VisibleMax Property
Specifies the maximum visible series argument or value, depending on the current axis.
Declaration
property VisibleMax: Variant read; write;
Property Value
Type | Description |
---|---|
Variant | The maximum visible series argument or value, depending on the current axis. |
Remarks
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%.
Examples: Resize the Visible Diagram Area
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.
The Axis of Arguments
VisibleMin | VisibleMax | Example[1] |
---|---|---|
Unspecified (equivalent to -4 )[2] |
Unspecified (equivalent to 6 )[3] |
|
-1 [4] |
3 [4] |
The Axis of Values
VisibleMin | VisibleMax | Example[5] |
---|---|---|
Unspecified (equivalent to -5 )[2] |
Unspecified (equivalent to 6 )[3] |
|
-3 [6] |
4 [6] |
Default Value and Limitations
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.
-
This example demonstrates different VisibleMin and
VisibleMax
property values for the axis of arguments of the same XY diagram under the following conditions:- WholeMin and WholeMax properties are set to
-3
and5
, respectively. - The AutoSideMargins property is set to
False
. - SideMarginMin and SideMarginMax properties are set to
1
.
- WholeMin and WholeMax properties are set to
-
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:- WholeMin and WholeMax properties are set to
-4
and5
, respectively. - The AutoSideMargins property is set to
False
. - SideMarginMin and SideMarginMax properties are set to
1
.
- WholeMin and WholeMax properties are set to
-
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.