Create content using all properties
- Last UpdatedApr 21, 2020
- 1 minute read
This postData example uses all properties to create an XY plot.
{
"upsert":{
"Name": "Wind Speed",
"ChartType": "XY Plot",
"TimePreset": "OffsetInMilliSecs:16028059",
"TimeAggregate": "2",
"LayoutInfo": {
"Layout": [
{
"Name": "mph",
"IsActiveGroup": "true",
"LayoutProperties": {
"selectedOptions": {
"xAxis": {
"label": "Dallas.Wind Speed",
"tag": "Weatherapp.Dallas.Wind Speed",
"ticks": -1
},
"yAxis": {
"type": "single"
},
"limitLine": {
"position": 10,
"text": "Limit Line Text",
"visible": false
},
"legend": {
"visible": true
},
"scooter": {
"visible": true
},
"sortType": "SmallesttoLargest",
"lookBack": 7,
"units": "hours",
"scaleX": true,
"scaleY": true,
"displayLines": false,
"aggregation": "avg_xy"
}
}
}
],
"TagDetails": [
{
"TagName": "Weatherapp.Auckland.Wind Speed",
"IsSelected": "true"
},
{
"TagName": "Weatherapp.Dallas.Wind Speed",
"IsSelected": "true"
}
]
},
"Keywords": [
"wind"
]
}
}