Skip to content
Snippets Groups Projects
Commit e977c6d3 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Modify panel template to support more stuff

parent e920fd22
No related branches found
No related tags found
No related merge requests found
{
{
{% if alias_colors %}
"aliasColors": {{ alias_colors }},
{% else %}
"aliasColors": {},
{% endif %}
"bars": false,
"collapsed": null,
"dashLength": 10,
"dashes": false,
"datasource": "{{ datasource }}",
"decimals": 2,
"fieldConfig": {
"defaults": {
"custom": {}
......@@ -12,15 +17,20 @@
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"fillGradient": 10,
"gridPos": {
"h": {{ height }},
"w": {{ width }},
{% if x %}
"x": {{ x }},
{% else %}
"x": 0,
{% endif %}
"y": {{ y }}
},
"hiddenSeries": false,
"id": {{ id }},
{% if not disable_legend %}
"legend": {
"alignAsTable": true,
"avg": true,
......@@ -32,8 +42,9 @@
"total": false,
"values": true
},
{% endif %}
"lines": true,
"linewidth": 1,
"linewidth": {{ linewidth }},
"nullPointMode": "null",
"options": {
"alertThreshold": true
......@@ -45,7 +56,11 @@
"search": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": null,
{% if stack %}
"stack": true,
{% else %}
"stack": false,
{% endif %}
"steppedLine": false,
"tags": null,
"thresholds": [],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment