Like this?
{
"aliasColors": {
"IDLE": "super-light-green",
"WIP": "green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 23763571993,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.7",
"pointradius": 0.5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": true,
"targets": [
{
"alias": "",
"format": "table",
"hide": false,
"rawSql": "SELECT \r\n TimeStamp as time,\r\n StatusNo as IDLE\r\nFROM \r\n MachineLearning.dbo.KF\r\nWHERE\r\n TableNo like 'M6-4A' AND StatusNo like '0'\r\nORDER BY TimeStamp ASC",
"refId": "A"
},
{
"alias": "",
"format": "table",
"hide": false,
"rawSql": "SELECT \r\n TimeStamp as time,\r\n StatusNo as WIP\r\nFROM \r\n MachineLearning.dbo.KF\r\nWHERE\r\n TableNo like 'M6-4A' AND StatusNo like '1'\r\n ORDER BY TimeStamp ASC",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "KingFisher Uptime/Downtime M6-4A",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true,
"$$hashKey": "object:122"
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true,
"$$hashKey": "object:123"
}
],
"yaxis": {
"align": false,
"alignLevel": null
},
"datasource": null
}