Open alxhld opened 2 years ago
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
{ "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 }
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
{ "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 }