|
|
|
|
|
<Chart>.TimeLevelMax (Function) In french: <Graphe>.NiveauTemporelMax Defines the number of levels to display in the time scale of a chart as well as the maximum level. Note: This function can be used in conjunction with <Chart>.TimeLevelMask to define a mask for one level of the graph's time scale..
CHART_MyChart.TimeLevelMax(2)
CHART_MyChart.TimeLevelMax(3, grtlMonth)
GRF_MonGraphe.NiveauTemporelMasque(grtlMonth, "Mmm")
GRF_MonGraphe.NiveauTemporelMax(1, grtlMonth)
Syntax
<Chart control>.TimeLevelMax(<Number of levels> [, <Maximum level>])
<Chart control>: Control name Name of the Chart control to use (in the window or page editor). <Number of levels>: Integer Maximum number of levels displayed in the chart. <Maximum level>: Optional Integer constant Maximum level to display: | | grtlDay | Maximum level displayed: days. | grtlHour | Maximum level displayed: hours. | grtlMillisecond | Maximum level displayed: milliseconds. | grtlMinute | Maximum level displayed: minutes. | grtlMonth | Maximum level displayed: months. | grtlSecond | Maximum level displayed: seconds. | grtlYear | Maximum level displayed: years. |
Remarks When displaying a time scale on DateTime data, the chart designer draws several levels corresponding to the different time units displayed. - The minimum level to display is defined according to the range of data.
- The maximum level is defined by using two parameters:
- Maximum number of levels to be displayed in the graph (default: 3).
- The maximum level allowed for display (default: year).
<Chart>.TimeLevelMax is used to modify these parameters. This allows you not to overload the chart or not to display some levels without relevance for the data displayed. For example: - to avoid displaying the years, all you have to do is set the maximum level with the grtlMonth constant.
- to avoid displaying more than two time levels in the chart, all you have to do is set the <Number of Levels> parameter to 2.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|