Add labels to layers in a graph
1.label_layer type:=0 pos:=tro; //add the enumerate uppercase letters as label in the top Right outside of graph layers
2. label_layer type:=2 custom:=Graph## pos:=1; // add a label named Graph## in the top left inside of graph layers
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 |
---|---|---|---|---|
Type | type |
Input int |
|
Specify the type of labels
Option list:
|
Custom | custom |
Input string |
|
When set type variable to custom, then can set the type to:
|
Position | pos |
Input int |
|
Specify the position of the added label in the layer
Option list:
|
Font | font |
Input TreeNode |
|
Specify font style. |
This X-Function is added the custom label to the layers in the graph. If there are multiple layers, it will you can use the enumerate letter or index number for each layer.