Commit 79bc6b68 by Leon Sorokin Committed by GitHub

TestData: Improve what's new in v7.4 (#30612)

parent ad7d75c1
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 973,
"links": [], "links": [],
"panels": [ "panels": [
{ {
...@@ -408,23 +407,11 @@ ...@@ -408,23 +407,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -438,7 +425,7 @@ ...@@ -438,7 +425,7 @@
"id": 25, "id": 25,
"links": [], "links": [],
"options": { "options": {
"content": "## Interpolation modes\n\nThe new time series panel brings a new interpolation mode\nwhere you can choose between.\n* Linear\n* Smooth\n* Step after \n* Step before (same as old graph panels staircase option)", "content": "## Interpolation modes\n\nThe new time series panel brings a new interpolation mode\nwhere you can choose between.\n* Linear\n* Smooth\n* Step before\n* Step after (same as old staircase option)",
"mode": "markdown" "mode": "markdown"
}, },
"pluginVersion": "7.4.0-beta1", "pluginVersion": "7.4.0-beta1",
...@@ -499,7 +486,6 @@ ...@@ -499,7 +486,6 @@
"spanNulls": true "spanNulls": true
}, },
"mappings": [], "mappings": [],
"nullValueMode": "null",
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
...@@ -602,7 +588,6 @@ ...@@ -602,7 +588,6 @@
"mappings": [], "mappings": [],
"max": 30, "max": 30,
"min": 0, "min": 0,
"nullValueMode": "null",
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
...@@ -706,7 +691,6 @@ ...@@ -706,7 +691,6 @@
"mappings": [], "mappings": [],
"max": 30, "max": 30,
"min": 0, "min": 0,
"nullValueMode": "null",
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
...@@ -810,7 +794,6 @@ ...@@ -810,7 +794,6 @@
"spanNulls": true "spanNulls": true
}, },
"mappings": [], "mappings": [],
"nullValueMode": "null",
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
...@@ -885,23 +868,11 @@ ...@@ -885,23 +868,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -955,7 +926,7 @@ ...@@ -955,7 +926,7 @@
"custom": { "custom": {
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMax": 130, "axisSoftMax": 60,
"axisSoftMin": 0, "axisSoftMin": 0,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
...@@ -994,12 +965,12 @@ ...@@ -994,12 +965,12 @@
{ {
"matcher": { "matcher": {
"id": "byName", "id": "byName",
"options": "Temperature C" "options": "Temperature"
}, },
"properties": [ "properties": [
{ {
"id": "unit", "id": "unit",
"value": "degree" "value": "celsius"
}, },
{ {
"id": "custom.axisPlacement", "id": "custom.axisPlacement",
...@@ -1010,12 +981,12 @@ ...@@ -1010,12 +981,12 @@
{ {
"matcher": { "matcher": {
"id": "byName", "id": "byName",
"options": "Temperature F" "options": "Pressure"
}, },
"properties": [ "properties": [
{ {
"id": "unit", "id": "unit",
"value": "fahrenheit" "value": "pressurekpa"
}, },
{ {
"id": "custom.axisPlacement", "id": "custom.axisPlacement",
...@@ -1064,7 +1035,7 @@ ...@@ -1064,7 +1035,7 @@
"pluginVersion": "7.4.0-beta1", "pluginVersion": "7.4.0-beta1",
"targets": [ "targets": [
{ {
"alias": "Temperature C", "alias": "Temperature",
"csvWave": { "csvWave": {
"timeStep": 60, "timeStep": 60,
"valuesCSV": "0,0,2,2,1,1" "valuesCSV": "0,0,2,2,1,1"
...@@ -1090,7 +1061,7 @@ ...@@ -1090,7 +1061,7 @@
"stringInput": "20,25,30,18,35,20,30,25" "stringInput": "20,25,30,18,35,20,30,25"
}, },
{ {
"alias": "Temperature F", "alias": "Pressure",
"csvWave": { "csvWave": {
"timeStep": 60, "timeStep": 60,
"valuesCSV": "0,0,2,2,1,1" "valuesCSV": "0,0,2,2,1,1"
...@@ -1114,7 +1085,7 @@ ...@@ -1114,7 +1085,7 @@
"spread": 3.5, "spread": 3.5,
"type": "signal" "type": "signal"
}, },
"stringInput": "68,77,86,64.4,95,68,86,77" "stringInput": "320,230,120,180,400,340,50,270"
}, },
{ {
"alias": "Energy", "alias": "Energy",
...@@ -1124,6 +1095,8 @@ ...@@ -1124,6 +1095,8 @@
}, },
"hide": false, "hide": false,
"lines": 10, "lines": 10,
"max": 300,
"min": 100,
"noise": 10, "noise": 10,
"points": [], "points": [],
"pulseWave": { "pulseWave": {
...@@ -1135,7 +1108,8 @@ ...@@ -1135,7 +1108,8 @@
}, },
"refId": "C", "refId": "C",
"scenarioId": "random_walk", "scenarioId": "random_walk",
"spread": 10, "spread": 100,
"startValue": 0,
"stream": { "stream": {
"bands": 1, "bands": 1,
"noise": 2.2, "noise": 2.2,
...@@ -1154,23 +1128,11 @@ ...@@ -1154,23 +1128,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -1663,7 +1625,7 @@ ...@@ -1663,7 +1625,7 @@
"stringInput": "1,20,90,30,5,0" "stringInput": "1,20,90,30,5,0"
} }
], ],
"title": "Bars with fill gradient", "title": "Bars with opacity gradient",
"type": "timeseries" "type": "timeseries"
}, },
{ {
...@@ -1797,23 +1759,11 @@ ...@@ -1797,23 +1759,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -1986,23 +1936,11 @@ ...@@ -1986,23 +1936,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -2077,7 +2015,6 @@ ...@@ -2077,7 +2015,6 @@
"spanNulls": true "spanNulls": true
}, },
"mappings": [], "mappings": [],
"nullValueMode": "null",
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
...@@ -2184,23 +2121,11 @@ ...@@ -2184,23 +2121,11 @@
"datasource": "gdev-testdata", "datasource": "gdev-testdata",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {},
"mode": "thresholds"
},
"custom": {}, "custom": {},
"mappings": [],
"thresholds": { "thresholds": {
"mode": "percentage", "mode": "absolute",
"steps": [ "steps": []
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 40
}
]
} }
}, },
"overrides": [] "overrides": []
...@@ -2231,11 +2156,12 @@ ...@@ -2231,11 +2156,12 @@
"type": "text" "type": "text"
} }
], ],
"refresh": "", "refresh": false,
"schemaVersion": 27, "schemaVersion": 27,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"gdev", "demo" "gdev",
"demo"
], ],
"templating": { "templating": {
"list": [] "list": []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment