ChartRangeIncrement custom property
- Last UpdatedAug 06, 2024
- 2 minute read
The value of the ChartRangeIncrement custom property sets the precision of the incremental range of values shown on the five measurement lines of a chart.
Chart symbols automatically adjust the incremental range of values to show all current measured values within the full range of chart bars. Chart symbols include five lines over the full range of measurement values shown on a chart axis. Each line has a calculated incremental value based on the maximum measured value and the assigned value of the ChartRangeIncrement custom property.
During run time, the symbol automatically calculates the incremental values shown on the five lines in a two step process.
-
The first step determines the highest possible value shown on a chart bar that is greater than the largest measured value and is a multiple of the ChartRangeIncrement custom property.
-
The second step is to divide the chart's maximum calculated value by 5 and multiply the quotient by the ordinal number of each measurement line.
For example, if the largest current measured value is 21 and the ChartRangeIncrement custom property is 10, then the highest value shown on the chart is 30 because it is greater than 21 and a multiple of 10. The assigned values for the four remaining measurement lines are the following:
-
Measurement line 1= (30/5) x 1=6.00
-
Measurement line 2 = (30/5) x 2=12.00
-
Measurement line 3 = (30/5) x 3= 18.00
-
Measurement line 4 = ( 30/5) x 4=24.00
Assign values to the ChartRangeIncrement custom property
|
Application Type |
Data Type |
Custom Property Type |
Default Value |
Example Custom Property Value |
|
ArchestrA Automation Objects |
Float |
Input |
5 |
Assign an object attribute or a static value. ChartRangeIncrement=TIT_001.Temp.RangeIncr ChartRangeIncrement=5.0 |
|
InTouch Tags |
Real |
Input |
5 |
Assign an InTouch tage or a static value. ChartRangeIncrement=InTouch:ChartRngIncr ChartRangeIncrement=5.0 |
Related Wizard options and custom properties
The BarXX properties must be set with ChartRangeIncrement to set the values assigned to measured value labels.