mirror of https://github.com/grafana/grafana
MarketTrend: add devenv dashboard (#41334)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com> Co-authored-by: sam boyer <sdboyer@grafana.com>pull/40244/head^2
parent
f0a108afb3
commit
fe43b30adf
@ -0,0 +1,538 @@ |
|||||||
|
{ |
||||||
|
"annotations": { |
||||||
|
"list": [ |
||||||
|
{ |
||||||
|
"builtIn": 1, |
||||||
|
"datasource": "-- Grafana --", |
||||||
|
"enable": true, |
||||||
|
"hide": true, |
||||||
|
"iconColor": "rgba(0, 211, 255, 1)", |
||||||
|
"name": "Annotations & Alerts", |
||||||
|
"target": { |
||||||
|
"limit": 100, |
||||||
|
"matchAny": false, |
||||||
|
"tags": [], |
||||||
|
"type": "dashboard" |
||||||
|
}, |
||||||
|
"type": "dashboard" |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"editable": true, |
||||||
|
"fiscalYearStartMonth": 0, |
||||||
|
"graphTooltip": 2, |
||||||
|
"id": 319, |
||||||
|
"links": [], |
||||||
|
"liveNow": false, |
||||||
|
"panels": [ |
||||||
|
{ |
||||||
|
"fieldConfig": { |
||||||
|
"defaults": { |
||||||
|
"color": { |
||||||
|
"mode": "palette-classic" |
||||||
|
}, |
||||||
|
"custom": { |
||||||
|
"axisLabel": "", |
||||||
|
"axisPlacement": "auto", |
||||||
|
"barAlignment": 0, |
||||||
|
"drawStyle": "line", |
||||||
|
"fillOpacity": 0, |
||||||
|
"gradientMode": "none", |
||||||
|
"hideFrom": { |
||||||
|
"legend": false, |
||||||
|
"tooltip": false, |
||||||
|
"viz": false |
||||||
|
}, |
||||||
|
"lineInterpolation": "linear", |
||||||
|
"lineStyle": { |
||||||
|
"dash": [ |
||||||
|
10, |
||||||
|
10 |
||||||
|
], |
||||||
|
"fill": "dash" |
||||||
|
}, |
||||||
|
"lineWidth": 1, |
||||||
|
"pointSize": 5, |
||||||
|
"scaleDistribution": { |
||||||
|
"type": "linear" |
||||||
|
}, |
||||||
|
"showPoints": "never", |
||||||
|
"spanNulls": false, |
||||||
|
"stacking": { |
||||||
|
"group": "A", |
||||||
|
"mode": "none" |
||||||
|
}, |
||||||
|
"thresholdsStyle": { |
||||||
|
"mode": "off" |
||||||
|
} |
||||||
|
}, |
||||||
|
"mappings": [], |
||||||
|
"thresholds": { |
||||||
|
"mode": "absolute", |
||||||
|
"steps": [ |
||||||
|
{ |
||||||
|
"color": "green" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"color": "red", |
||||||
|
"value": 80 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"unit": "currencyUSD" |
||||||
|
}, |
||||||
|
"overrides": [ |
||||||
|
{ |
||||||
|
"matcher": { |
||||||
|
"id": "byName", |
||||||
|
"options": "sma" |
||||||
|
}, |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"id": "color", |
||||||
|
"value": { |
||||||
|
"fixedColor": "orange", |
||||||
|
"mode": "fixed" |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id": "custom.lineWidth", |
||||||
|
"value": 5 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id": "custom.lineStyle", |
||||||
|
"value": { |
||||||
|
"dash": [ |
||||||
|
0, |
||||||
|
20 |
||||||
|
], |
||||||
|
"fill": "dot" |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"matcher": { |
||||||
|
"id": "byName", |
||||||
|
"options": "bolup" |
||||||
|
}, |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"id": "custom.fillBelowTo", |
||||||
|
"value": "boldn" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id": "custom.fillOpacity", |
||||||
|
"value": 8 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id": "color", |
||||||
|
"value": { |
||||||
|
"fixedColor": "blue", |
||||||
|
"mode": "fixed" |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"gridPos": { |
||||||
|
"h": 16, |
||||||
|
"w": 12, |
||||||
|
"x": 0, |
||||||
|
"y": 0 |
||||||
|
}, |
||||||
|
"id": 2, |
||||||
|
"options": { |
||||||
|
"colorStrategy": "intra", |
||||||
|
"colors": { |
||||||
|
"down": "red", |
||||||
|
"up": "green" |
||||||
|
}, |
||||||
|
"fieldMap": { |
||||||
|
"close": "close", |
||||||
|
"high": "high", |
||||||
|
"low": "low", |
||||||
|
"open": "open", |
||||||
|
"volume": "volume" |
||||||
|
}, |
||||||
|
"legend": { |
||||||
|
"calcs": [], |
||||||
|
"displayMode": "list", |
||||||
|
"placement": "bottom" |
||||||
|
}, |
||||||
|
"mode": "pricevolume", |
||||||
|
"priceStyle": "candles" |
||||||
|
}, |
||||||
|
"targets": [ |
||||||
|
{ |
||||||
|
"csvFileName": "ohlc_dogecoin.csv", |
||||||
|
"refId": "A", |
||||||
|
"scenarioId": "csv_file" |
||||||
|
} |
||||||
|
], |
||||||
|
"title": "Price & Volume", |
||||||
|
"type": "market-trend" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fieldConfig": { |
||||||
|
"defaults": { |
||||||
|
"color": { |
||||||
|
"mode": "palette-classic" |
||||||
|
}, |
||||||
|
"custom": { |
||||||
|
"axisLabel": "", |
||||||
|
"axisPlacement": "auto", |
||||||
|
"barAlignment": 0, |
||||||
|
"drawStyle": "line", |
||||||
|
"fillOpacity": 0, |
||||||
|
"gradientMode": "none", |
||||||
|
"hideFrom": { |
||||||
|
"legend": false, |
||||||
|
"tooltip": false, |
||||||
|
"viz": false |
||||||
|
}, |
||||||
|
"lineInterpolation": "linear", |
||||||
|
"lineWidth": 1, |
||||||
|
"pointSize": 5, |
||||||
|
"scaleDistribution": { |
||||||
|
"type": "linear" |
||||||
|
}, |
||||||
|
"showPoints": "auto", |
||||||
|
"spanNulls": false, |
||||||
|
"stacking": { |
||||||
|
"group": "A", |
||||||
|
"mode": "none" |
||||||
|
}, |
||||||
|
"thresholdsStyle": { |
||||||
|
"mode": "off" |
||||||
|
} |
||||||
|
}, |
||||||
|
"mappings": [], |
||||||
|
"thresholds": { |
||||||
|
"mode": "absolute", |
||||||
|
"steps": [ |
||||||
|
{ |
||||||
|
"color": "green" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"color": "red", |
||||||
|
"value": 80 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"unit": "currencyUSD" |
||||||
|
}, |
||||||
|
"overrides": [] |
||||||
|
}, |
||||||
|
"gridPos": { |
||||||
|
"h": 20, |
||||||
|
"w": 12, |
||||||
|
"x": 12, |
||||||
|
"y": 0 |
||||||
|
}, |
||||||
|
"id": 7, |
||||||
|
"options": { |
||||||
|
"colorStrategy": "inter", |
||||||
|
"colors": { |
||||||
|
"down": "red", |
||||||
|
"up": "green" |
||||||
|
}, |
||||||
|
"fieldMap": { |
||||||
|
"close": "close", |
||||||
|
"high": "high", |
||||||
|
"low": "low", |
||||||
|
"open": "open" |
||||||
|
}, |
||||||
|
"legend": { |
||||||
|
"calcs": [], |
||||||
|
"displayMode": "list", |
||||||
|
"placement": "bottom" |
||||||
|
}, |
||||||
|
"mode": "price", |
||||||
|
"priceStyle": "candles" |
||||||
|
}, |
||||||
|
"targets": [ |
||||||
|
{ |
||||||
|
"csvFileName": "ohlc_dogecoin.csv", |
||||||
|
"refId": "A", |
||||||
|
"scenarioId": "csv_file" |
||||||
|
} |
||||||
|
], |
||||||
|
"title": "Price Only, Hollow Candles", |
||||||
|
"transformations": [ |
||||||
|
{ |
||||||
|
"id": "filterFieldsByName", |
||||||
|
"options": { |
||||||
|
"include": { |
||||||
|
"names": [ |
||||||
|
"time", |
||||||
|
"open", |
||||||
|
"high", |
||||||
|
"low", |
||||||
|
"close" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
], |
||||||
|
"type": "market-trend" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fieldConfig": { |
||||||
|
"defaults": { |
||||||
|
"color": { |
||||||
|
"mode": "palette-classic" |
||||||
|
}, |
||||||
|
"custom": { |
||||||
|
"axisLabel": "", |
||||||
|
"axisPlacement": "auto", |
||||||
|
"barAlignment": 0, |
||||||
|
"drawStyle": "line", |
||||||
|
"fillOpacity": 0, |
||||||
|
"gradientMode": "none", |
||||||
|
"hideFrom": { |
||||||
|
"legend": false, |
||||||
|
"tooltip": false, |
||||||
|
"viz": false |
||||||
|
}, |
||||||
|
"lineInterpolation": "linear", |
||||||
|
"lineWidth": 1, |
||||||
|
"pointSize": 5, |
||||||
|
"scaleDistribution": { |
||||||
|
"type": "linear" |
||||||
|
}, |
||||||
|
"showPoints": "auto", |
||||||
|
"spanNulls": false, |
||||||
|
"stacking": { |
||||||
|
"group": "A", |
||||||
|
"mode": "none" |
||||||
|
}, |
||||||
|
"thresholdsStyle": { |
||||||
|
"mode": "off" |
||||||
|
} |
||||||
|
}, |
||||||
|
"mappings": [], |
||||||
|
"thresholds": { |
||||||
|
"mode": "absolute", |
||||||
|
"steps": [ |
||||||
|
{ |
||||||
|
"color": "green" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"color": "red", |
||||||
|
"value": 80 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"unit": "currencyUSD" |
||||||
|
}, |
||||||
|
"overrides": [] |
||||||
|
}, |
||||||
|
"gridPos": { |
||||||
|
"h": 10, |
||||||
|
"w": 12, |
||||||
|
"x": 0, |
||||||
|
"y": 16 |
||||||
|
}, |
||||||
|
"id": 6, |
||||||
|
"options": { |
||||||
|
"colorStrategy": "intra", |
||||||
|
"colors": { |
||||||
|
"down": "red", |
||||||
|
"up": "blue" |
||||||
|
}, |
||||||
|
"fieldMap": { |
||||||
|
"close": "close", |
||||||
|
"high": "high", |
||||||
|
"low": "low", |
||||||
|
"open": "open" |
||||||
|
}, |
||||||
|
"legend": { |
||||||
|
"calcs": [], |
||||||
|
"displayMode": "list", |
||||||
|
"placement": "bottom" |
||||||
|
}, |
||||||
|
"mode": "price", |
||||||
|
"priceStyle": "ohlcbars" |
||||||
|
}, |
||||||
|
"targets": [ |
||||||
|
{ |
||||||
|
"csvFileName": "ohlc_dogecoin.csv", |
||||||
|
"refId": "A", |
||||||
|
"scenarioId": "csv_file" |
||||||
|
} |
||||||
|
], |
||||||
|
"title": "Price Only, OHLC Bars", |
||||||
|
"transformations": [ |
||||||
|
{ |
||||||
|
"id": "filterFieldsByName", |
||||||
|
"options": { |
||||||
|
"include": { |
||||||
|
"names": [ |
||||||
|
"time", |
||||||
|
"open", |
||||||
|
"high", |
||||||
|
"low", |
||||||
|
"close" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
], |
||||||
|
"type": "market-trend" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fieldConfig": { |
||||||
|
"defaults": { |
||||||
|
"color": { |
||||||
|
"mode": "palette-classic" |
||||||
|
}, |
||||||
|
"custom": { |
||||||
|
"axisLabel": "", |
||||||
|
"axisPlacement": "auto", |
||||||
|
"barAlignment": 0, |
||||||
|
"drawStyle": "line", |
||||||
|
"fillOpacity": 100, |
||||||
|
"gradientMode": "none", |
||||||
|
"hideFrom": { |
||||||
|
"legend": false, |
||||||
|
"tooltip": false, |
||||||
|
"viz": false |
||||||
|
}, |
||||||
|
"lineInterpolation": "linear", |
||||||
|
"lineWidth": 1, |
||||||
|
"pointSize": 5, |
||||||
|
"scaleDistribution": { |
||||||
|
"type": "linear" |
||||||
|
}, |
||||||
|
"showPoints": "auto", |
||||||
|
"spanNulls": false, |
||||||
|
"stacking": { |
||||||
|
"group": "A", |
||||||
|
"mode": "none" |
||||||
|
}, |
||||||
|
"thresholdsStyle": { |
||||||
|
"mode": "off" |
||||||
|
} |
||||||
|
}, |
||||||
|
"mappings": [], |
||||||
|
"thresholds": { |
||||||
|
"mode": "absolute", |
||||||
|
"steps": [ |
||||||
|
{ |
||||||
|
"color": "green" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"color": "red", |
||||||
|
"value": 80 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"unit": "currencyUSD" |
||||||
|
}, |
||||||
|
"overrides": [ |
||||||
|
{ |
||||||
|
"matcher": { |
||||||
|
"id": "byName", |
||||||
|
"options": "open" |
||||||
|
}, |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"id": "custom.hideFrom", |
||||||
|
"value": { |
||||||
|
"legend": true, |
||||||
|
"tooltip": true, |
||||||
|
"viz": true |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"matcher": { |
||||||
|
"id": "byName", |
||||||
|
"options": "close" |
||||||
|
}, |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"id": "custom.hideFrom", |
||||||
|
"value": { |
||||||
|
"legend": true, |
||||||
|
"tooltip": true, |
||||||
|
"viz": true |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"gridPos": { |
||||||
|
"h": 6, |
||||||
|
"w": 12, |
||||||
|
"x": 12, |
||||||
|
"y": 20 |
||||||
|
}, |
||||||
|
"id": 4, |
||||||
|
"options": { |
||||||
|
"colorStrategy": "intra", |
||||||
|
"colors": { |
||||||
|
"down": "red", |
||||||
|
"up": "yellow" |
||||||
|
}, |
||||||
|
"fieldMap": { |
||||||
|
"close": "close", |
||||||
|
"open": "open", |
||||||
|
"volume": "volume" |
||||||
|
}, |
||||||
|
"legend": { |
||||||
|
"calcs": [], |
||||||
|
"displayMode": "list", |
||||||
|
"placement": "bottom" |
||||||
|
}, |
||||||
|
"mode": "volume", |
||||||
|
"priceStyle": "candles" |
||||||
|
}, |
||||||
|
"targets": [ |
||||||
|
{ |
||||||
|
"csvFileName": "ohlc_dogecoin.csv", |
||||||
|
"refId": "A", |
||||||
|
"scenarioId": "csv_file" |
||||||
|
} |
||||||
|
], |
||||||
|
"title": "Volume Only, Alt Colors, 100% Opacity", |
||||||
|
"transformations": [ |
||||||
|
{ |
||||||
|
"id": "filterFieldsByName", |
||||||
|
"options": { |
||||||
|
"include": { |
||||||
|
"names": [ |
||||||
|
"time", |
||||||
|
"volume", |
||||||
|
"open", |
||||||
|
"close" |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
], |
||||||
|
"type": "market-trend" |
||||||
|
} |
||||||
|
], |
||||||
|
"refresh": false, |
||||||
|
"schemaVersion": 33, |
||||||
|
"style": "dark", |
||||||
|
"tags": [], |
||||||
|
"templating": { |
||||||
|
"list": [] |
||||||
|
}, |
||||||
|
"time": { |
||||||
|
"from": "2021-07-13T22:13:30.740Z", |
||||||
|
"to": "2021-07-13T22:46:18.921Z" |
||||||
|
}, |
||||||
|
"timepicker": {}, |
||||||
|
"timezone": "", |
||||||
|
"title": "Market Trend", |
||||||
|
"uid": "MP-Di9F7k", |
||||||
|
"version": 7, |
||||||
|
"weekStart": "" |
||||||
|
} |
||||||
Loading…
Reference in new issue