beautypg.com

Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 233

background image

9

ReportsPlus

233

Axis Object

The Axis object is used to modify axis properties on a trend or bar chart.

Instancing

The Axis object is not a creatable object.

Accessing

MPR script code can access the XAxis and YAxis objects as properties of a TrendChart or
BarChart object

Properties

Enums

Property

R/W

Description

CustomFormat As
String

R/W

Sets a custom format to be used for displaying the labels
along the tick marks on the axis

Font As Font

R/W

Specifies the Font object associated with the axis

Format As
AxisFormat

R/W

Specifies one of the standard formats to use for displaying
the labels along the tick marks on the axis

Gridlines As
Boolean

R/W

Controls the visibility of gridlines at the tick marks on the
axis

LabelAngle As
Double

R/W

Specifies the text rotation in degrees for the labels on the
selected axis. Range is -90 to 90, with a default value of 0

Step As Double

R/W

Specifies the interval of major tick marks and gridlines (if
visible) on the selected axis. It also controls the gap or
interval between labels in the selected axis

Title As String

R/W

The text that appears as the title of the axis

Enum

Description

AxisFormat.Date

Displays a Short Date, as defined in the International section of the
Control Panel. This is the default format for the XAxis object on a
TrendChart object

AxisFormat.Number

Displays a Number, as defined in the International section of the
Control Panel. This is the default value for the YAxis object on a
TrendChart object