Skip to main content

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%.

VCL Chart Control: The Default Visible Scales of the Axis of Arguments and the Axis of Values

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] VCL Chart Control: The Default Visible Scale on the Axis of Arguments
-1[4] 3[4] VCL Chart Control: A Zoomed-in Scale on the Axis of Arguments

The Axis of Values

VisibleMin VisibleMax Example[5]
Unspecified (equivalent to -5)[2] Unspecified (equivalent to 6)[3] VCL Chart Control: The Default Visible Scale on the Axis of Values
-3[6] 4[6] VCL Chart Control: A Zoomed-in Scale on the Axis of Values

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.

Footnotes
  1. This example demonstrates different VisibleMin and VisibleMax property values for the axis of arguments of the same XY diagram under the following conditions:

  2. The unspecified VisibleMin property defines the minimum visible value as the difference between WholeMin and ActualSideMarginMin properties.

  3. The unspecified VisibleMax property defines the maximum visible value as the sum of WholeMax and ActualSideMarginMax property values.

  4. 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.

  5. This example demonstrates different VisibleMin and VisibleMax property values for the axis of values of the same XY diagram under the following conditions:

  6. 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