XAXIS Optional Values

Specify any optional XAXIS values after the XAXIS Mandatory Value in a TrendSpec definition. Remember to include a comma at the end of the mandatory value before listing any of these optional values. Include a comma between each optional value’s definition.

Many of the optional XAXIS values are equivalent to the properties that you can specify using the Edit X Axis window on a Pre-Configured Trend. For further information on these properties, see Configure the X-Axis.

The optional values that you can specify within the XAXIS section are:

XAXIS Optional Values

Identifier

Value Type

Comments

StartTime

(Only applicable if the <X-Axis Mode> is set to Absolute.)

DATE

Use to specify the earliest time period that is to be shown on the x-axis when the ad hoc Trend is first displayed. Specify the time and date in this format:

StartTime = %23dd/MM/yyyy HH:mm:ss.SSS%23

Example:

StartTime = %2321/11/2008 08:30:00.000%23

(Within a TrendSpec definition, a DATE value has to be enclosed within the code %23.)

EndTime

(Only applicable if the <X-Axis Mode> is set to Absolute.)

DATE

Use to specify the latest time period that is to be shown on the x-axis when the ad hoc Trend is first displayed. Specify the time and date in this format:

StartTime = %23dd/MM/yyyy HH:mm:ss.SSS%23

Example:

EndTime = %2322/11/2008 08:30:00.000%23

(Within a TrendSpec definition, a DATE value has to be enclosed within the code %23.)

Offset

(Only applicable if the <X-Axis Mode> is set to RelativeNow or RelativeLatest.)

String

Use to specify the earliest time that is displayed on the x-axis, in relation to the current time. You need to Specify a Relative Time in the OPC Relative Time Format.

Example:

Offset = 'Hour - 3 Hours'

(for the x-axis to display an interval that starts 3 hours before the start of the current hour)

Interval

(Only applicable if the <X-Axis Mode> is set to RelativeNow or RelativeLatest.)

String

Use to specify the amount of time that is displayed on the x-axis at one time. You need to Specify a Time Period in the OPC Time Format.

Example:

Interval = '1 Hour'

or

Interval = ‘1H’

Alsosee Use TrendSpec to Define a Multiple Trace Ad Hoc Trend.

Format

Identifier value

Use to specify the time format used for the x-axis. Specify one of these values:

TwelveHour, or TwentyFourHour.

Example:

Format = TwentyFourHour

(If TwelveHour is specified, the time on the x-axis is appended with AM or PM, as applicable.)

MinorTicks

Integer

Use to specify the number of minor tick indicators that are to appear between the major indicators on the x-axis. Enter a suitable value in the range 1 to 10 inclusive.

Example:

MinorTicks = 3

Position

Identifier value

Use to specify the position of the x-axis on the ad hoc Trend. Specify one of these values:

Top, or Bottom.

Example:

Position = Bottom

Alsosee Enable Users to Specify Which Traces to Include on an Ad Hoc Trend.

Continuous

Boolean

Use to continuously scroll the x-axis when the time almost reaches the end of the time interval currently shown on the x-axis. In this mode, you can automatically follow the trend’s trace after it reaches the end of the current x-axis time interval.

For more information, see Configure the X-Axis

Example:

Continuous = True

Jump Boolean

Use if you want the x-axis to show (jump to) the time interval after the time interval currently shown on the x-axis. It will do this when the time reaches the end of the current x-axis time interval.

For more information, see Configure the X-Axis

Example:

Jump = True

ShowGrid

Boolean

Use to specify whether vertical grid lines are shown for the major ticks on the x-axis.

Example:

ShowGrid = False

(Use the YAXIS ShowGrid identifier to specify whether horizontal grid lines are displayed (see YAXIS Optional Values).)

ShowNow

Boolean

Use to specify whether a vertical line that indicates the values for the current time (‘now’) is shown on the Trend.

Example:

ShowNow = False

Colour

RGB

Use to specify the RGB color of the x-axis.

Example:

Colour = RGB(0,0,0)

Alsosee Use TrendSpec to Define an Ad Hoc Trend’s Colors.


Disclaimer

Geo SCADA Expert 2019