Skip to content

Instantly share code, notes, and snippets.

@KMurphs
Last active July 9, 2022 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KMurphs/ddb6eadc2de2e47b50aea2dffe62cf97 to your computer and use it in GitHub Desktop.
Save KMurphs/ddb6eadc2de2e47b50aea2dffe62cf97 to your computer and use it in GitHub Desktop.
labview-from-csv-dashboard.json
{
"meta": {
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"canDelete": true,
"slug": "labview-from-csv",
"url": "/d/qxQ3Wb67k/labview-from-csv",
"expires": "0001-01-01T00:00:00Z",
"created": "2022-07-08T18:53:43+02:00",
"updated": "2022-07-09T16:48:33+02:00",
"updatedBy": "admin",
"createdBy": "admin",
"version": 13,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": "",
"annotationsPermissions": {
"dashboard": {
"canAdd": true,
"canEdit": true,
"canDelete": true
},
"organization": {
"canAdd": true,
"canEdit": true,
"canDelete": true
}
},
"isPublic": false
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- 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": 0,
"id": 1,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "fWM561e7z"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 4,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "fWM561e7z"
},
"decimalSeparator": ".",
"delimiter": ",",
"experimental": {
"regex": false
},
"header": true,
"ignoreUnknown": true,
"refId": "A",
"schema": [
{
"name": "Timestamp",
"type": "string"
},
{
"name": "Measurement 1",
"type": "number"
},
{
"name": "Measurement 2",
"type": "number"
},
{
"name": "Measurement 3",
"type": "number"
}
],
"skipRows": 0
}
],
"title": "LabVIEW Data",
"transformations": [
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": ""
}
},
"fieldName": "Timestamp"
},
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Timestamp"
}
],
"match": "any",
"type": "exclude"
}
},
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"dateFormat": "MM/DD/YYYY hh:mm:ss a",
"destinationType": "time",
"targetField": "Timestamp"
}
],
"fields": {}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Timestamp"
}
],
"match": "any",
"type": "exclude"
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": false,
"field": "Timestamp"
}
]
}
}
],
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "LabVIEW From CSV",
"uid": "qxQ3Wb67k",
"version": 13,
"weekStart": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment