Update sparlines of selected columns
1. updateSparklines plottype:=his;
2. updateSparklines plottype:=his keepAspect:=1;
3. updateSparklines template:="String As Input" keepAspect:=1 label:=0;
4. updateSparklines endpts:=0;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Plot Type | plottype |
Input string |
Specifies the plot type of sparkline. Option list:
| |
Graph Template | template |
Input string |
|
Specifies the template used to generate the sparkline. |
Keep Aspect Ratio | keepAspect |
Input int |
|
Specifies whether to keep aspect ratio of the sparkline. If it is set to True, the x and y axes will be changed with same ratio, if it is set to False, then they will be changed respectively. By default it is set to False. |
Hide Annotations | label |
Input int |
|
If this variable is set to True, then any annotation in the graph will not show in the Sparkline, if it is set to False, the annotation will show. By default it is set to True. |
Show First and Last Points | endpts |
Input int |
|
If this variable is set to True, the first and last points will be marked in the sparkline, if it is set to False, they will not be marked. |
Output | orng |
Input/Output Range |
|
Specifies the column(s) to which the Sparkline is added or updated. It is set to the active column by default. |
This X-Function is used to updates sparklines for all selected columns.