Create a rolling sum chart
- Last UpdatedApr 21, 2020
- 1 minute read
This example creates a rolling sum chart using the "mph" tag group.
{
"upsert": {
"Name": "ContentWithScript",
"ChartType": "Cumulative Sum",
"LayoutInfo": {
"Layout": [
{
"Name": "mph",
"IsActiveGroup": "true",
"LayoutProperties": {
"selectedOptions": {
"lookBack": 7,
"units": "hours"
}
}
}
],
"TagDetails": [
{
"TagName": "Weatherapp.Auckland.Wind Speed",
"IsSelected": "true"
},
{
"TagName": "Weatherapp.Dallas.Wind Speed",
"IsSelected": "true"
}
]
},
"Keywords": [
"wind"
]
}
}