Back to Devexpress

TdxChartRange.VisibleMax Property

vcl-dxchartxydiagram-dot-tdxchartrange-e6e27f3a.md

latest5.1 KB
Original Source

TdxChartRange.VisibleMax Property

Specifies the maximum visible series argument or value, depending on the current axis.

Declaration

delphi
property VisibleMax: Variant read; write;

Property Value

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

Property Value 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

VisibleMinVisibleMaxExample[1]
Unspecified (equivalent to -4)[2]Unspecified (equivalent to 6)[3]
-1[4]3[4]

The Axis of Values

VisibleMinVisibleMaxExample[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.

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

TdxChartRange.WholeMax Property

TdxChartRange.SideMarginMax Property

TdxChartRangeInfo.Max Property

TdxChartRange Class

TdxChartRange Members

dxChartXYDiagram Unit