[ { "apiVersion": "influxdata.com/v2alpha1", "kind": "Dashboard", "metadata": { "name": "dash-0" }, "spec": { "description": "a dashboard w/ single histogram chart", "charts": [ { "kind": "histogram", "name": "histogram chart", "note": "histogram note", "noteOnEmpty": true, "width": 6, "height": 3, "xCol": "_value", "position": "stacked", "binCount": 30, "legendColorizeRows": true, "legendHide": false, "legendOpacity": 1.0, "legendOrientationThreshold": 5, "fillColumns": [ "a", "b" ], "queries": [ { "query": "from(bucket: v.bucket) |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r._measurement == \"boltdb_reads_total\") |> filter(fn: (r) => r._field == \"counter\")" } ], "axes": [ { "name": "x", "label": "x_label", "domain": [ 0, 10 ] } ], "colors": [ { "name": "mycolor", "type": "scale", "hex": "#8F8AF4", "value": 0 }, { "name": "mycolor", "type": "scale", "hex": "#F4CF31", "value": 0 }, { "name": "mycolor", "type": "scale", "hex": "#FFFFFF", "value": 0 } ] } ] } } ]