Apama 10.7.2 | Building and Using Apama Dashboards | Dashboard Property Reference for Graphs, Tables and Trends | Trend Objects | Trend graphs | Trend graph: X-Axis group
 
Trend graph: X-Axis group
Properties in this group control the range and labeling of the x-axis.
X-Axis group properties
The group includes the following properties:
* timeFormat
* timeRange
* timeRangeBegin
* timeRangeEnd
* timeRangeOfHistory
* timeShift
* xAxisFlag
* xAxisGridVisFlag
* xAxisLabelTextHeight
* xAxisMajorDivisions
* xAxisMinorDivisions
timeFormat
Sets the format for the time displayed in the x-axis using syntax from the Java SimpleDateFormat class.
For example, MMMM dd, yyyy hh:mm:ss a results in dates of the form August 30, 2003 05:32:12 PM. If no format is given, the date and time are not displayed on the x-axis.
Include a new line character ('\n') to display multiple-line text in the time axis labels. For example, MM\dd'\n'hh:mm:ss results in the following form:
08\30
05:32:12
If left blank, the axis is labeled with a default format based on the range.
This property is in the X-Axis property group.
timeRange
Sets the total amount of time, in seconds, plotted on the chart.
If timeRange is set to -1, the time range is determined by the first and last timestamp found in the traceNValue and traceNValueTable. If both tables are empty, the chart uses the first and last timestamp of the first overlay trace that has a non-empty traceNValueTable or traceNValue.
Note:timeRange is ignored if both timeRangeBegin and timeRangeEnd are set.
The default is -1.0.
This property is in the X-Axis property group.
timeRangeBegin
Sets the start time value of the data to be plotted on the chart. Following are the supported formats:
*mm/dd/yyyy hh:mm:ss (for example, 01/16/2004 12:30:03)
*yyyy-mm-dd hh:mm:ss (for example, 2004-01-16 12:30:03)
*The number of milliseconds since midnight, January 1, 1970 UTC
Note:
If only the time is specified, the current date is used.
This property is in the X-Axis property group.
timeRangeEnd
Sets the end time value of the data to be plotted on the chart. Following are the supported formats are:
*mm/dd/yyyy hh:mm:ss (for example, 01/16/2004 12:30:03)
*yyyy-mm-dd hh:mm:ss (for example, 2004-01-16 12:30:03)
*The number of milliseconds since midnight, January 1, 1970 UTC
Note:
If only the time is specified, the current date is used.
This property is in the X-Axis property group.
timeRangeOfHistory
Do not use this property
This property is in the X-Axis property group.
timeShift
Used to round the start and end times for the Y Axis. For example, if you specify -15 for the timeShift property, the start and end times for the Y Axis are rounded to the nearest 15 seconds.
The default value is -1.0.
This property is in the X-Axis property group.
xAxisFlag
Select to display the x-axis.
This property is in the X-Axis property group.
xAxisGridVisFlag
Set to display a vertical line for each major x-axis division.
This property is in the X-Axis property group.
xAxisLabelTextHeight
Specifies the height in pixels of the x-axis labels.
This property is in the X-Axis property group.
xAxisMajorDivisions
Specify the number of major divisions (long ticks) on the x-axis.
This property is in the X-Axis property group.
xAxisMinorDivisions
Specify the number of minor divisions (short ticks) on the x-axis.
This property is in the X-Axis property group.