gravo icon indicating copy to clipboard operation
gravo copied to clipboard

"Group by" not working

Open alxhld opened this issue 1 year ago • 0 comments

Hi,

Thanks for gravo! I have an issue with the "group by" feature of the "additional JSON data". I receive data via the JSON interface and gravo, however, adding group into payload shows no effect. What can I do?

Thanks, Alex

Bildschirmfoto 2022-09-16 um 21 53 39

{ "id": 43, "gridPos": { "h": 5, "w": 9, "x": 1, "y": 31 }, "type": "barchart", "title": "Gas", "transformations": [], "fieldConfig": { "defaults": { "custom": { "lineWidth": 1, "fillOpacity": 80, "gradientMode": "none", "axisPlacement": "auto", "axisLabel": "", "axisSoftMin": 0, "scaleDistribution": { "type": "linear" }, "hideFrom": { "tooltip": false, "viz": false, "legend": false } }, "color": { "mode": "palette-classic" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Gas" }, "properties": [ { "id": "color", "value": { "fixedColor": "semi-dark-red", "mode": "fixed" } } ] } ] }, "options": { "orientation": "auto", "xTickLabelRotation": 0, "xTickLabelSpacing": 0, "showValue": "auto", "stacking": "none", "groupWidth": 0.7, "barWidth": 0.97, "barRadius": 0, "tooltip": { "mode": "single", "sort": "none" }, "legend": { "displayMode": "list", "placement": "bottom", "calcs": [] } }, "targets": [ { "refId": "A", "datasource": { "uid": "ATkk_xL7z", "type": "simpod-json-datasource" }, "payload": "{"group": "month"}\n", "target": "afbccd40-83a0-11e4-9c8b-d17b1eb50ba9", "hide": false } ], "datasource": null }

alxhld avatar Sep 16 '22 19:09 alxhld