From ec2b2b21d011e11a55b2676220659876f93aecec Mon Sep 17 00:00:00 2001 From: lana-k Date: Fri, 13 Nov 2020 16:04:09 +0100 Subject: [PATCH] return predefined query --- public/queries.json | 48 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/public/queries.json b/public/queries.json index 0637a08..8d47aab 100644 --- a/public/queries.json +++ b/public/queries.json @@ -1 +1,47 @@ -[] \ No newline at end of file +{ + "query": "select * from invoices", + "chart": { + "data": [ + { + "type": "scatter", + "mode": "lines", + "x": null, + "xsrc": "InvoiceId", + "meta": { + "columnNames": { + "x": "InvoiceId", + "y": "Total" + } + }, + "y": null, + "ysrc": "Total" + } + ], + "layout": { + "xaxis": { + "range": [ + 1, + 412 + ], + "autorange": true, + "type": "linear" + }, + "yaxis": { + "range": [ + -0.39166666666666683, + 27.241666666666667 + ], + "autorange": true, + "type": "linear" + }, + "autosize": true, + "mapbox": { + "style": "open-street-map" + } + }, + "frames": [] + }, + "name": "Invoices", + "id": "ieZfcITwDUTADwOmQlYyL", + "createdAt": "2020-11-03T14:17:49.524Z" +} \ No newline at end of file