Create a line chart
- Last UpdatedApr 21, 2020
- 1 minute read
This example produces a line chart using the following parameters:
-
The chart type is a line chart that uses the "MB" tag group.
-
The Y-axis is stacked and not scaled.
-
A keyword ("SecretRecipe") is assigned to this content.
-
Time duration for this content is "Today" (where TimePreset is 5).
{
"upsert": {
"Name": "Line Chart ContentWithScript",
"ChartType": "Line Chart",
"LayoutInfo": {
"Layout": [
{
"Name": "MB",
"IsActiveGroup": "true",
"LayoutProperties": {
"selectedOptions": {
"yAxis": {
"type": "stacked"
},
"scaleY": false
}
}
}
],
"TagDetails": [
{
"TagName": "alarmstests.W12R12-SQL16.SysPerfAvailableMBytes",
"IsSelected": "true"
}
]
}
"Keywords": [
"SecretRecipe"
]
}
}