SetTagPenStyle
- Last UpdatedNov 17, 2021
- 1 minute read
The SetTagPenStyle method sets the style of the trend curve for the currently selected tag. For example, a solid or dashed line.
Syntax
[Result=] aaHistClientTrend.SetTagPenStyle(message serverName, message tagName, integer penStyle);
Parameters
serverName
The name of the server.
tagName
The name of the tag.
penStyle
The appearance of the pen. Valid values are:
|
0 |
Solid |
|
1 |
Dashed |
|
2 |
Dotted |
|
3 |
DashDot |
|
4 |
DashDotDot |
|
5 |
Alternate |
Return Value
Returns True if successful; otherwise returns False.
Remarks
If the specified tag is shown in the chart multiple times, the method uses the first instance that was added.