INFORMIX
Visionary User's Guide
Appendix A: Object Properties Reference
Home Contents Index Master Index New Book

Axis (Date/Time and Numerical)

Numeric scale used in charts and graphs to plot coordinates along one or more planes.

There are two types of axis objects: the Date/Time Axis object and the Numerical Axis object.

Every axis in a Visionary world is one of these two types. The following aliases apply to axis objects.

Alias Axis

Date Axis

Date/Time Axis

Price Axis

Numerical Axis

Volume Axis

Numerical Axis

X Axis

Date/Time Axis or Numerical Axis

Y Axis

Date/Time Axis or Numerical Axis

User-Named Axis

Date/Time Axis or Numerical Axis

The Date/Time Axis object is a linear axis that maps temporal data to one of the dimensions of a chart and formats labels as dates and times.

Valid properties for the Date/Time Axis object are described in the following table.

Property Data Type Description

LowerLimit

DateTime

Lower bound of the axis if AutoScaleLower is False. The property is ignored if AutoScaleLower is True.

UpperLimit

DateTime

Upper bound of the axis if AutoScaleUpper is False. The property is ignored if AutoScaleUpper is True.

AutoScaleLower

Boolean

Automatically determines a suitable lower axis limit based on the data.

AutoScaleUpper

Boolean

Automatically determines a suitable upper limit based on the data.

ReverseScale

Boolean

Reverses the direction of the axis, placing the lower bound at the end of the axis rather than at the beginning.

Visible

Boolean

Shows or hides the axis, its labels, and its tick marks. This option does not affect the mapping of data.

MajorFontName

FontName

Font used for major labels.

MajorFontSize

Numeric

Size of the font used for major labels.

MajorFontBold

Boolean

Displays major labels in bold.

MajorFontItalic

Boolean

Displays major labels in italics.

MajorFontColor

Color

Sets the color of major labels.

MinorFontName

FontName

Font used for minor labels.

MinorFontSize

Numeric

Size of the font used for minor labels.

MinorFontBold

Boolean

Displays minor labels in bold.

MinorFontItalic

Boolean

Displays minor labels in italics.

MinorFontColor

Color

Sets the color of minor labels.

LabelSpacing

Numeric

Distance between the label and the axis.

MajorTickLen

Numeric

Length of tick marks at major intervals.

MinorTickLen

Numeric

Length of tick marks at minor intervals.

TicksInside

Boolean

Displays tick marks on the inside of the axis (toward the center of the plot area).

TicksOutside

Boolean

Displays tick marks on the outside of the axis (away from the center of the plot area).

LengthPct

Percentage

Relative length of the axis compared to other axes with the same alignment. The sum of the LengthPct properties for all axes aligned in the same direction is normalized to 100%.

The Numerical Axis object maps value-based data to one of the dimensions of a chart. Its labels are dynamic during zoom operations so that suitable increments are displayed at all times.

Valid properties for the Numerical Axis object are described in the following table

Property Data Type Description

Scale

Enum

Type of scale:

LowerLimit

DateTime

Lower bound of the axis if AutoScaleLower is False. The property is ignored if AutoScaleLower is True.

UpperLimit

DateTime

Upper bound of the axis if AutoScaleUpper is False. The property is ignored if AutoScaleUpper is True.

AutoScaleLower

Boolean

Automatically determines a suitable lower axis limit based on the data.

AutoScaleUpper

Boolean

Automatically determines a suitable upper limit based on the data.

NumberFormat

String

Determines the display format of numbers along the axis. Defaults to General, which displays the number in its most compact form. See "Formatting Values" for more information.

ReverseScale

Boolean

Reverses the direction of the axis, placing the lower bound at the end of the axis rather than at the beginning.

Visible

Boolean

Shows or hides the axis, its labels, and its tick marks. This option does not affect the mapping of data.

FontName

FontName

Font used for labels.

FontSize

Numeric

Size of the font used for labels.

FontBold

Boolean

Displays labels in bold.

FontItalic

Boolean

Displays labels in italics.

FontColor

Color

Sets the color of labels.

LabelSpacing

Numeric

Distance between the label and the axis.

MajorTickLen

Numeric

Length of tick marks at major intervals.

MinorTickLen

Numeric

Length of tick marks at minor intervals.

TicksInside

Boolean

Displays tick marks on the inside of the axis (toward the center of the plot area).

TicksOutside

Boolean

Displays tick marks on the outside of the axis (away from the center of the plot area).

LengthPct

Percentage

Relative length of the axis compared to other axes with the same alignment. The sum of the LengthPct properties for all axes aligned in the same direction is normalized to 100%.

.




Visionary User's Guide, version 1.0
Copyright © 1998, Informix Software, Inc. All rights reserved.