mirror of https://github.com/grafana/grafana
GraphNG: support fill gradient (#29765)
parent
0c8498401e
commit
8250b59dfe
@ -0,0 +1,571 @@ |
||||
{ |
||||
"annotations": { |
||||
"list": [ |
||||
{ |
||||
"builtIn": 1, |
||||
"datasource": "-- Grafana --", |
||||
"enable": true, |
||||
"hide": true, |
||||
"iconColor": "rgba(0, 211, 255, 1)", |
||||
"name": "Annotations & Alerts", |
||||
"type": "dashboard" |
||||
} |
||||
] |
||||
}, |
||||
"editable": true, |
||||
"gnetId": null, |
||||
"graphTooltip": 0, |
||||
"links": [], |
||||
"panels": [ |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "line", |
||||
"fillGradient": 0.5, |
||||
"fillOpacity": 40, |
||||
"lineInterpolation": "linear", |
||||
"lineWidth": 2, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "short" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "rgb(48, 139, 237)", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 8, |
||||
"w": 10, |
||||
"x": 0, |
||||
"y": 0 |
||||
}, |
||||
"id": 2, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Req/s", |
||||
"type": "graph3" |
||||
}, |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "bars", |
||||
"fillGradient": 0.4, |
||||
"fillOpacity": 53, |
||||
"lineInterpolation": "linear", |
||||
"lineWidth": 1, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "short" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "blue", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 8, |
||||
"w": 7, |
||||
"x": 10, |
||||
"y": 0 |
||||
}, |
||||
"id": 11, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"maxDataPoints": 10, |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Req/s", |
||||
"type": "graph3" |
||||
}, |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "bars", |
||||
"fillGradient": "opacity", |
||||
"fillOpacity": 100, |
||||
"lineInterpolation": "linear", |
||||
"lineWidth": 0, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "short" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "red", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 8, |
||||
"w": 7, |
||||
"x": 17, |
||||
"y": 0 |
||||
}, |
||||
"id": 12, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"maxDataPoints": 20, |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Req/s", |
||||
"type": "graph3" |
||||
}, |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "line", |
||||
"fillGradient": 0.5, |
||||
"fillOpacity": 20, |
||||
"lineInterpolation": "linear", |
||||
"lineWidth": 1, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "decgbytes" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "red", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 8, |
||||
"w": 10, |
||||
"x": 0, |
||||
"y": 8 |
||||
}, |
||||
"id": 7, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Memory", |
||||
"type": "graph3" |
||||
}, |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "line", |
||||
"fillGradient": "hue", |
||||
"fillOpacity": 62, |
||||
"lineInterpolation": "smooth", |
||||
"lineWidth": 2, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "short" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "semi-dark-blue", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 8, |
||||
"w": 14, |
||||
"x": 10, |
||||
"y": 8 |
||||
}, |
||||
"id": 13, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"maxDataPoints": 80, |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Hue gradient mode", |
||||
"type": "graph3" |
||||
}, |
||||
{ |
||||
"datasource": null, |
||||
"fieldConfig": { |
||||
"defaults": { |
||||
"color": { |
||||
"mode": "palette-classic" |
||||
}, |
||||
"custom": { |
||||
"axisLabel": "", |
||||
"axisPlacement": "auto", |
||||
"drawStyle": "bars", |
||||
"fillGradient": "hue", |
||||
"fillOpacity": 100, |
||||
"lineInterpolation": "smooth", |
||||
"lineWidth": 0, |
||||
"pointSize": 6, |
||||
"scaleDistribution": { |
||||
"type": "linear" |
||||
}, |
||||
"showPoints": "never", |
||||
"spanNulls": true |
||||
}, |
||||
"mappings": [], |
||||
"nullValueMode": "null", |
||||
"thresholds": { |
||||
"mode": "absolute", |
||||
"steps": [ |
||||
{ |
||||
"color": "green", |
||||
"value": null |
||||
}, |
||||
{ |
||||
"color": "red", |
||||
"value": 80 |
||||
} |
||||
] |
||||
}, |
||||
"unit": "short" |
||||
}, |
||||
"overrides": [ |
||||
{ |
||||
"matcher": { |
||||
"id": "byName", |
||||
"options": "A-series" |
||||
}, |
||||
"properties": [ |
||||
{ |
||||
"id": "color", |
||||
"value": { |
||||
"fixedColor": "red", |
||||
"mode": "fixed" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
}, |
||||
"gridPos": { |
||||
"h": 11, |
||||
"w": 24, |
||||
"x": 0, |
||||
"y": 16 |
||||
}, |
||||
"id": 16, |
||||
"interval": "1m", |
||||
"links": [], |
||||
"maxDataPoints": 50, |
||||
"options": { |
||||
"graph": {}, |
||||
"legend": { |
||||
"displayMode": "hidden", |
||||
"placement": "bottom" |
||||
}, |
||||
"tooltipOptions": { |
||||
"mode": "single" |
||||
} |
||||
}, |
||||
"pluginVersion": "7.4.0-pre", |
||||
"targets": [ |
||||
{ |
||||
"refId": "A", |
||||
"scenarioId": "random_walk" |
||||
} |
||||
], |
||||
"timeFrom": null, |
||||
"timeShift": null, |
||||
"title": "Hue gradient mode", |
||||
"type": "graph3" |
||||
} |
||||
], |
||||
"schemaVersion": 27, |
||||
"style": "dark", |
||||
"tags": ["gdev", "panel-tests"], |
||||
"templating": { |
||||
"list": [] |
||||
}, |
||||
"time": { |
||||
"from": "now-6h", |
||||
"to": "now" |
||||
}, |
||||
"timepicker": { |
||||
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"], |
||||
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] |
||||
}, |
||||
"timezone": "", |
||||
"title": "Panel Tests - Graph NG - Gradient Area Fills", |
||||
"uid": "_gWgX2JGk", |
||||
"version": 1 |
||||
} |
Loading…
Reference in new issue