{
    "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": 4,
    "links": [],
    "liveNow": false,
    "panels": [
      {
        "datasource": {
          "type": "tdengine-datasource",
          "uid": "BvLpzud4k"
        },
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            },
            "custom": {
              "axisCenteredZero": false,
              "axisColorMode": "text",
              "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",
                  "value": null
                },
                {
                  "color": "red",
                  "value": 80
                }
              ]
            }
          },
          "overrides": []
        },
        "gridPos": {
          "h": 8,
          "w": 19,
          "x": 0,
          "y": 0
        },
        "id": 2,
        "options": {
          "legend": {
            "calcs": [],
            "displayMode": "list",
            "placement": "bottom",
            "showLegend": true
          },
          "tooltip": {
            "mode": "single",
            "sort": "none"
          }
        },
        "targets": [
          {
            "colNameFormatStr": "",
            "colNameToGroup": "",
            "datasource": {
              "type": "tdengine-datasource",
              "uid": "BvLpzud4k"
            },
            "formatType": "Time series",
            "queryType": "SQL",
            "refId": "A",
            "sql": "select time,  $attribute from collimator.collimator_output where time > $from and time < $to"
          },
          {
            "colNameFormatStr": "",
            "colNameToGroup": "",
            "datasource": {
              "type": "tdengine-datasource",
              "uid": "BvLpzud4k"
            },
            "formatType": "Time series",
            "hide": false,
            "queryType": "SQL",
            "refId": "B",
            "sql": "select time,  $attribute from collimator.matlab_output where time > $from and time < $to"
          }
        ],
        "title": "Collimator vs MATLAB",
        "type": "timeseries"
      }
    ],
    "refresh": "5s",
    "schemaVersion": 37,
    "style": "dark",
    "tags": [],
    "templating": {
      "list": [
        {
          "current": {
            "selected": true,
            "text": [
              "influent_Q",
              "effluent_Q"
            ],
            "value": [
              "influent_Q",
              "effluent_Q"
            ]
          },
          "description": "Select the attribute to compare",
          "hide": 0,
          "includeAll": false,
          "multi": true,
          "name": "attribute",
          "options": [
            {
              "selected": true,
              "text": "influent_Q",
              "value": "influent_Q"
            },
            {
              "selected": false,
              "text": "influent_TSS",
              "value": "influent_TSS"
            },
            {
              "selected": true,
              "text": "effluent_Q",
              "value": "effluent_Q"
            },
            {
              "selected": false,
              "text": "effluent_TSS",
              "value": "effluent_TSS"
            }
          ],
          "query": "influent_Q,influent_TSS,effluent_Q,effluent_TSS",
          "queryValue": "",
          "skipUrlSync": false,
          "type": "custom"
        }
      ]
    },
    "time": {
      "from": "now-5m",
      "to": "now"
    },
    "timepicker": {},
    "timezone": "",
    "title": "Collimator vs Matlab",
    "uid": "bQTEzXdVk",
    "version": 3,
    "weekStart": ""
  }