From 406704a027a4f5bac1f25118fc6af2d327b44f3b Mon Sep 17 00:00:00 2001 From: Leon Sorokin Date: Wed, 29 Nov 2023 11:54:16 -0600 Subject: [PATCH] XYChart: Add demo gdev dashboard (#71168) Co-authored-by: nmarrs Co-authored-by: Adela Almasan --- .betterer.results | 6 +- .../panel-xychart/xychart-example.json | 1855 +++++++++++++++++ devenv/jsonnet/dev-dashboards.libsonnet | 7 + .../data/automobiles.csv | 407 ++++ .../components/CSVFileEditor.tsx | 1 + .../plugins/panel/xychart/XYChartPanel2.tsx | 3 + public/app/plugins/panel/xychart/scatter.ts | 5 +- 7 files changed, 2280 insertions(+), 4 deletions(-) create mode 100644 devenv/dev-dashboards/panel-xychart/xychart-example.json create mode 100644 pkg/tsdb/grafana-testdata-datasource/data/automobiles.csv diff --git a/.betterer.results b/.betterer.results index 68f45cc918e..b195197f5a6 100644 --- a/.betterer.results +++ b/.betterer.results @@ -6948,7 +6948,8 @@ exports[`better eslint`] = { ], "public/app/plugins/panel/xychart/XYChartPanel2.tsx:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"], - [0, 0, 0, "Styles should be written using objects.", "1"] + [0, 0, 0, "Do not use any type assertions.", "1"], + [0, 0, 0, "Styles should be written using objects.", "2"] ], "public/app/plugins/panel/xychart/dims.ts:5381": [ [0, 0, 0, "Do not use any type assertions.", "0"], @@ -6969,8 +6970,7 @@ exports[`better eslint`] = { [0, 0, 0, "Unexpected any. Specify a different type.", "7"], [0, 0, 0, "Do not use any type assertions.", "8"], [0, 0, 0, "Unexpected any. Specify a different type.", "9"], - [0, 0, 0, "Do not use any type assertions.", "10"], - [0, 0, 0, "Do not use any type assertions.", "11"] + [0, 0, 0, "Do not use any type assertions.", "10"] ], "public/app/store/configureStore.ts:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] diff --git a/devenv/dev-dashboards/panel-xychart/xychart-example.json b/devenv/dev-dashboards/panel-xychart/xychart-example.json new file mode 100644 index 00000000000..cecdcb0e49d --- /dev/null +++ b/devenv/dev-dashboards/panel-xychart/xychart-example.json @@ -0,0 +1,1855 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 20, + "w": 6, + "x": 0, + "y": 0 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [], + "seriesMapping": "auto", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "csvContent": "X,Y\n725.1,435.6\n734.1,497.2\n714.3,527.7\n683.5,548.7\n601.8,594.0\n598.5,621.7\n573.9,644.7\n525.7,695.7\n477.2,732.8\n411.8,755.3\n353.6,758.3\n422.6,736.5\n455.3,724.1\n479.2,699.2\n474.0,673.8\n434.5,662.1\n362.2,679.8\n311.2,698.8\n260.1,728.9\n213.4,771.1\n176.2,818.0\n211.2,742.6\n253.9,707.9\n309.9,668.8\n374.7,643.2\n322.8,629.9\n277.1,607.1\n237.0,616.8\n188.9,613.9\n143.0,594.1\n101.8,566.4\n178.1,590.2\n222.2,575.9\n187.9,549.1\n161.5,517.5\n128.6,506.8\n97.3,488.3\n62.4,436.0\n99.6,473.8\n138.3,477.0\n125.0,396.7\n95.6,359.2\n83.6,322.1\n81.0,289.7\n104.0,343.8\n129.3,358.4\n151.2,291.1\n124.0,242.6\n126.3,170.2\n133.7,212.8\n148.4,243.3\n167.9,262.7\n209.1,205.7\n230.1,150.3\n231.4,120.1\n316.0,120.1\n400.6,120.1\n485.2,120.1\n569.8,120.1\n569.3,166.4\n553.0,205.5\n489.2,265.7\n422.2,309.1\n353.7,343.1\n328.2,386.3\n321.6,432.6\n334.1,473.1\n357.6,500.3\n389.9,508.5\n418.8,479.9\n447.9,413.3\n480.0,379.0\n521.6,354.2\n583.9,351.6\n549.7,357.7\n571.6,376.0\n517.1,380.8\n550.3,393.2\n504.3,402.3\n489.5,425.8\n527.5,425.8\n472.7,457.2\n447.1,523.8\n538.6,435.7\n598.4,403.7\n697.8,349.1\n645.3,390.4\n712.3,373.8\n586.0,424.1\n526.9,463.3\n469.5,538.0\n540.6,477.5\n531.2,528.4\n598.6,460.1\n594.5,509.0\n651.2,460.1\n649.9,502.6\n699.4,446.1\n707.6,477.1\n722.0,442.9", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_content" + } + ], + "title": "CNC/Routing \"Etch-A-Sketch\"", + "type": "xychart" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Weight Male" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Weight" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Height Male" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Height" + } + ] + } + ] + }, + "gridPos": { + "h": 20, + "w": 6, + "x": 6, + "y": 0 + }, + "id": 4, + "options": { + "dims": { + "exclude": [], + "frame": 0, + "x": "A-series" + }, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "name": "Male", + "pointColor": { + "fixed": "#5795f200" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Height Male", + "y": "Weight Male" + }, + { + "name": "Female", + "pointColor": { + "fixed": "#ff983000" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Height Female", + "y": "Weight Female" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "csvFileName": "weight_height.csv", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_file" + } + ], + "title": "Height vs Weight Samples", + "transformations": [ + { + "id": "partitionByValues", + "options": { + "fields": [ + "Gender" + ] + } + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "x^2" + }, + "properties": [ + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 15 + ], + "fill": "dash" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "cos(x)" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "y" + } + ] + } + ] + }, + "gridPos": { + "h": 17, + "w": 9, + "x": 12, + "y": 0 + }, + "id": 3, + "options": { + "dims": { + "frame": 0 + }, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "name": "cos(x)", + "pointColor": { + "fixed": "green" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "x", + "y": "cos(x)" + }, + { + "name": "x^2", + "pointColor": { + "fixed": "orange" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "x2", + "y": "x^2" + }, + { + "name": "sqrt(x)", + "pointColor": { + "fixed": "blue" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "x3", + "y": "sqrt(x)" + }, + { + "name": "-sqrt(x)", + "pointColor": { + "fixed": "purple" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "x4", + "y": "-sqrt(x)" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "alias": "", + "csvContent": "x,cos(x)\n-7.5,3.4663531783502584\n-7.45,3.9308257356494076\n-7.4,4.385473275743903\n-7.35,4.829159416559378\n-7.3,5.260775173811053\n-7.25,5.679241732886949\n-7.2,6.083513145322545\n-7.15,6.472578943127236\n-7.1,6.845466664428066\n-7.05,7.201244284117942\n-7,7.539022543433046\n-6.95,7.857957172636611\n-6.9,8.157251001253568\n-6.85,8.436155950581597\n-6.8,8.693974903498253\n-6.75,8.930063446890767\n-6.7,9.143831482353194\n-6.65,9.334744701125118\n-6.6,9.502325919585296\n-6.55,9.64615627196218\n-6.5,9.765876257280235\n-6.45,9.861186637925126\n-6.4,9.931849187581927\n-6.35,9.97768728667684\n-6.3,9.998586363834152\n-6.25,9.994494182244994\n-6.2,9.965420970232175\n-6.15,9.91143939568469\n-6.1,9.832684384425844\n-6.05,9.729352782968974\n-6,9.601702866503661\n-5.95,9.450053693342275\n-5.9,9.27478430744036\n-5.85,9.076332790984132\n-5.8,8.85519516941319\n-5.75,8.611924171615208\n-5.7,8.347127848391597\n-5.65,8.061468052647157\n-5.6,7.755658785102496\n-5.55,7.430464409664099\n-5.5,7.0866977429126\n-5.45,6.725218022484659\n-5.4,6.346928759426347\n-5.35,5.952775479886061\n-5.3,5.543743361791607\n-5.25,5.120854772418407\n-5.2,4.685166713003771\n-5.15,4.237768176794282\n-5.1,3.7797774271298024\n-5.05,3.3123392023675367\n-5,2.8366218546322624\n-4.95,2.353814429544512\n-4.9,1.8651236942257576\n-4.85,1.371771121009073\n-4.8,0.874989834394464\n-4.75,0.37602152887976553\n-4.7,-0.1238866346289056\n-4.65,-0.6234851460699166\n-4.6,-1.1215252693505486\n-4.55,-1.616762163536865\n-4.5,-2.107957994307797\n-4.45,-2.593885027896261\n-4.4,-3.0733286997841933\n-4.35,-3.5450906504813195\n-4.3,-4.007991720799755\n-4.25,-4.460874899137928\n-4.2,-4.902608213406994\n-4.15,-5.332087560371543\n-4.1,-5.748239465332691\n-4.05,-6.150023765255744\n-4,-6.536436208636119\n-3.95,-6.906510965605075\n-3.9,-7.259323042001402\n-3.85,-7.593990591375079\n-3.8,-7.909677119144169\n-3.75,-8.205593573395607\n-3.7,-8.48100031710408\n-3.65,-8.73520897683938\n-3.6,-8.96758416334147\n-3.55,-9.177545059662759\n-3.5,-9.364566872907963\n-3.45,-9.528182145943047\n-3.4,-9.66798192579461\n-3.35,-9.78361678581934\n-3.3,-9.87479769908865\n-3.25,-9.941296760805463\n-3.2,-9.982947757947532\n-3.15,-9.99964658471342\n-3.1,-9.991351502732794\n-3.05,-9.958083245390611\n-3,-9.899924966004454\n-2.95,-9.81702202998454\n-2.9,-9.709581651495906\n-2.85,-9.577872375530903\n-2.8,-9.42222340668658\n-2.75,-9.243023786324635\n-2.7,-9.040721420170613\n-2.65,-8.815821958782859\n-2.6,-8.568887533689473\n-2.55,-8.30053535235222\n-2.5,-8.011436155469337\n-2.45,-7.702312540473074\n-2.4,-7.373937155412454\n-2.35,-7.027130767735539\n-2.3,-6.66276021279824\n-2.25,-6.281736227227391\n-2.2,-5.885011172553458\n-2.15,-5.473576654802709\n-2.1,-5.048461045998575\n-2.05,-4.610726913767127\n-2,-4.161468365471424\n-1.95,-3.7018083135128688\n-1.9,-3.2328956686350336\n-1.85,-2.7559024682451296\n-1.8,-2.272020946930871\n-1.75,-1.7824605564949207\n-1.7,-1.2884449429552465\n-1.65,-0.7912088880673386\n-1.6,-0.29199522301288816\n-1.55,0.20794827803092428\n-1.5,0.7073720166770291\n-1.45,1.2050276936736661\n-1.4,1.6996714290024104\n-1.35,2.1900668709304147\n-1.3,2.6749882862458736\n-1.25,3.1532236239526865\n-1.2,3.623577544766736\n-1.15,4.084874408841574\n-1.1,4.5359612142557735\n-1.05,4.97571047891727\n-1,5.403023058681398\n-0.95,5.8168308946388345\n-0.9,6.216099682706644\n-0.85,6.599831458849822\n-0.8,6.967067093471654\n-0.75,7.316888688738209\n-0.7,7.648421872844885\n-0.65,7.960837985490558\n-0.6,8.253356149096783\n-0.55,8.525245220595057\n-0.5,8.775825618903728\n-0.45,9.004471023526769\n-0.4,9.210609940028851\n-0.35,9.393727128473788\n-0.3,9.55336489125606\n-0.25,9.689124217106448\n-0.2,9.800665778412416\n-0.15,9.887710779360422\n-0.1,9.950041652780257\n-0.05,9.987502603949663\n0,10\n0.05,9.987502603949663\n0.1,9.950041652780257\n0.15,9.887710779360422\n0.2,9.800665778412416\n0.25,9.689124217106448\n0.3,9.55336489125606\n0.35,9.393727128473788\n0.4,9.210609940028851\n0.45,9.004471023526769\n0.5,8.775825618903728\n0.55,8.525245220595057\n0.6,8.253356149096783\n0.65,7.960837985490558\n0.7,7.648421872844885\n0.75,7.316888688738209\n0.8,6.967067093471654\n0.85,6.599831458849822\n0.9,6.216099682706644\n0.95,5.8168308946388345\n1,5.403023058681398\n1.05,4.97571047891727\n1.1,4.5359612142557735\n1.15,4.084874408841574\n1.2,3.623577544766736\n1.25,3.1532236239526865\n1.3,2.6749882862458736\n1.35,2.1900668709304147\n1.4,1.6996714290024104\n1.45,1.2050276936736661\n1.5,0.7073720166770291\n1.55,0.20794827803092428\n1.6,-0.29199522301288816\n1.65,-0.7912088880673386\n1.7,-1.2884449429552465\n1.75,-1.7824605564949207\n1.8,-2.272020946930871\n1.85,-2.7559024682451296\n1.9,-3.2328956686350336\n1.95,-3.7018083135128688\n2,-4.161468365471424\n2.05,-4.610726913767127\n2.1,-5.048461045998575\n2.15,-5.473576654802709\n2.2,-5.885011172553458\n2.25,-6.281736227227391\n2.3,-6.66276021279824\n2.35,-7.027130767735539\n2.4,-7.373937155412454\n2.45,-7.702312540473074\n2.5,-8.011436155469337\n2.55,-8.30053535235222\n2.6,-8.568887533689473\n2.65,-8.815821958782859\n2.7,-9.040721420170613\n2.75,-9.243023786324635\n2.8,-9.42222340668658\n2.85,-9.577872375530903\n2.9,-9.709581651495906\n2.95,-9.81702202998454\n3,-9.899924966004454\n3.05,-9.958083245390611\n3.1,-9.991351502732794\n3.15,-9.99964658471342\n3.2,-9.982947757947532\n3.25,-9.941296760805463\n3.3,-9.87479769908865\n3.35,-9.78361678581934\n3.4,-9.66798192579461\n3.45,-9.528182145943047\n3.5,-9.364566872907963\n3.55,-9.177545059662759\n3.6,-8.96758416334147\n3.65,-8.73520897683938\n3.7,-8.48100031710408\n3.75,-8.205593573395607\n3.8,-7.909677119144169\n3.85,-7.593990591375079\n3.9,-7.259323042001402\n3.95,-6.906510965605075\n4,-6.536436208636119\n4.05,-6.150023765255744\n4.1,-5.748239465332691\n4.15,-5.332087560371543\n4.2,-4.902608213406994\n4.25,-4.460874899137928\n4.3,-4.007991720799755\n4.35,-3.5450906504813195\n4.4,-3.0733286997841933\n4.45,-2.593885027896261\n4.5,-2.107957994307797\n4.55,-1.616762163536865\n4.6,-1.1215252693505486\n4.65,-0.6234851460699166\n4.7,-0.1238866346289056\n4.75,0.37602152887976553\n4.8,0.874989834394464\n4.85,1.371771121009073\n4.9,1.8651236942257576\n4.95,2.353814429544512\n5,2.8366218546322624\n5.05,3.3123392023675367\n5.1,3.7797774271298024\n5.15,4.237768176794282\n5.2,4.685166713003771\n5.25,5.120854772418407\n5.3,5.543743361791607\n5.35,5.952775479886061\n5.4,6.346928759426347\n5.45,6.725218022484659\n5.5,7.0866977429126\n5.55,7.430464409664099\n5.6,7.755658785102496\n5.65,8.061468052647157\n5.7,8.347127848391597\n5.75,8.611924171615208\n5.8,8.85519516941319\n5.85,9.076332790984132\n5.9,9.27478430744036\n5.95,9.450053693342275\n6,9.601702866503661\n6.05,9.729352782968974\n6.1,9.832684384425844\n6.15,9.91143939568469\n6.2,9.965420970232175\n6.25,9.994494182244994\n6.3,9.998586363834152\n6.35,9.97768728667684\n6.4,9.931849187581927\n6.45,9.861186637925126\n6.5,9.765876257280235\n6.55,9.64615627196218\n6.6,9.502325919585296\n6.65,9.334744701125118\n6.7,9.143831482353194\n6.75,8.930063446890767\n6.8,8.693974903498253\n6.85,8.436155950581597\n6.9,8.157251001253568\n6.95,7.857957172636611\n7,7.539022543433046\n7.05,7.201244284117942\n7.1,6.845466664428066\n7.15,6.472578943127236\n7.2,6.083513145322545\n7.25,5.679241732886949\n7.3,5.260775173811053\n7.35,4.829159416559378\n7.4,4.385473275743903\n7.45,3.9308257356494076", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_content" + }, + { + "csvContent": "x2,x^2\n-7.5,56.25\n-7.45,55.502500000000005\n-7.4,54.760000000000005\n-7.35,54.022499999999994\n-7.3,53.29\n-7.25,52.5625\n-7.2,51.84\n-7.15,51.1225\n-7.1,50.41\n-7.05,49.7025\n-7,49\n-6.95,48.3025\n-6.9,47.61000000000001\n-6.85,46.92249999999999\n-6.8,46.239999999999995\n-6.75,45.5625\n-6.7,44.89\n-6.65,44.222500000000004\n-6.6,43.559999999999995\n-6.55,42.902499999999996\n-6.5,42.25\n-6.45,41.6025\n-6.4,40.96000000000001\n-6.35,40.3225\n-6.3,39.69\n-6.25,39.0625\n-6.2,38.440000000000005\n-6.15,37.822500000000005\n-6.1,37.209999999999994\n-6.05,36.6025\n-6,36\n-5.95,35.4025\n-5.9,34.81\n-5.85,34.2225\n-5.8,33.64\n-5.75,33.0625\n-5.7,32.49\n-5.65,31.922500000000003\n-5.6,31.359999999999996\n-5.55,30.8025\n-5.5,30.25\n-5.45,29.7025\n-5.4,29.160000000000004\n-5.35,28.622499999999995\n-5.3,28.09\n-5.25,27.5625\n-5.2,27.040000000000003\n-5.15,26.522500000000004\n-5.1,26.009999999999998\n-5.05,25.502499999999998\n-5,25\n-4.95,24.5025\n-4.9,24.010000000000005\n-4.85,23.522499999999997\n-4.8,23.04\n-4.75,22.5625\n-4.7,22.090000000000003\n-4.65,21.622500000000002\n-4.6,21.159999999999997\n-4.55,20.702499999999997\n-4.5,20.25\n-4.45,19.802500000000002\n-4.4,19.360000000000003\n-4.35,18.922499999999996\n-4.3,18.49\n-4.25,18.0625\n-4.2,17.64\n-4.15,17.222500000000004\n-4.1,16.81\n-4.05,16.4025\n-4,16\n-3.95,15.602500000000001\n-3.9,15.209999999999999\n-3.85,14.822500000000002\n-3.8,14.44\n-3.75,14.0625\n-3.7,13.690000000000001\n-3.65,13.3225\n-3.6,12.96\n-3.55,12.6025\n-3.5,12.25\n-3.45,11.902500000000002\n-3.4,11.559999999999999\n-3.35,11.2225\n-3.3,10.889999999999999\n-3.25,10.5625\n-3.2,10.240000000000002\n-3.15,9.9225\n-3.1,9.610000000000001\n-3.05,9.302499999999998\n-3,9\n-2.95,8.7025\n-2.9,8.41\n-2.85,8.1225\n-2.8,7.839999999999999\n-2.75,7.5625\n-2.7,7.290000000000001\n-2.65,7.0225\n-2.6,6.760000000000001\n-2.55,6.5024999999999995\n-2.5,6.25\n-2.45,6.002500000000001\n-2.4,5.76\n-2.35,5.522500000000001\n-2.3,5.289999999999999\n-2.25,5.0625\n-2.2,4.840000000000001\n-2.15,4.6225\n-2.1,4.41\n-2.05,4.2025\n-2,4\n-1.95,3.8024999999999998\n-1.9,3.61\n-1.85,3.4225000000000003\n-1.8,3.24\n-1.75,3.0625\n-1.7,2.8899999999999997\n-1.65,2.7224999999999997\n-1.6,2.5600000000000005\n-1.55,2.4025000000000003\n-1.5,2.25\n-1.45,2.1025\n-1.4,1.9599999999999997\n-1.35,1.8225000000000002\n-1.3,1.6900000000000002\n-1.25,1.5625\n-1.2,1.44\n-1.15,1.3224999999999998\n-1.1,1.2100000000000002\n-1.05,1.1025\n-1,1\n-0.95,0.9025\n-0.9,0.81\n-0.85,0.7224999999999999\n-0.8,0.6400000000000001\n-0.75,0.5625\n-0.7,0.48999999999999994\n-0.65,0.42250000000000004\n-0.6,0.36\n-0.55,0.30250000000000005\n-0.5,0.25\n-0.45,0.2025\n-0.4,0.16000000000000003\n-0.35,0.12249999999999998\n-0.3,0.09\n-0.25,0.0625\n-0.2,0.04000000000000001\n-0.15,0.0225\n-0.1,0.010000000000000002\n-0.05,0.0025000000000000005\n0,0\n0.05,0.0025000000000000005\n0.1,0.010000000000000002\n0.15,0.0225\n0.2,0.04000000000000001\n0.25,0.0625\n0.3,0.09\n0.35,0.12249999999999998\n0.4,0.16000000000000003\n0.45,0.2025\n0.5,0.25\n0.55,0.30250000000000005\n0.6,0.36\n0.65,0.42250000000000004\n0.7,0.48999999999999994\n0.75,0.5625\n0.8,0.6400000000000001\n0.85,0.7224999999999999\n0.9,0.81\n0.95,0.9025\n1,1\n1.05,1.1025\n1.1,1.2100000000000002\n1.15,1.3224999999999998\n1.2,1.44\n1.25,1.5625\n1.3,1.6900000000000002\n1.35,1.8225000000000002\n1.4,1.9599999999999997\n1.45,2.1025\n1.5,2.25\n1.55,2.4025000000000003\n1.6,2.5600000000000005\n1.65,2.7224999999999997\n1.7,2.8899999999999997\n1.75,3.0625\n1.8,3.24\n1.85,3.4225000000000003\n1.9,3.61\n1.95,3.8024999999999998\n2,4\n2.05,4.2025\n2.1,4.41\n2.15,4.6225\n2.2,4.840000000000001\n2.25,5.0625\n2.3,5.289999999999999\n2.35,5.522500000000001\n2.4,5.76\n2.45,6.002500000000001\n2.5,6.25\n2.55,6.5024999999999995\n2.6,6.760000000000001\n2.65,7.0225\n2.7,7.290000000000001\n2.75,7.5625\n2.8,7.839999999999999\n2.85,8.1225\n2.9,8.41\n2.95,8.7025\n3,9\n3.05,9.302499999999998\n3.1,9.610000000000001\n3.15,9.9225\n3.2,10.240000000000002\n3.25,10.5625\n3.3,10.889999999999999\n3.35,11.2225\n3.4,11.559999999999999\n3.45,11.902500000000002\n3.5,12.25\n3.55,12.6025\n3.6,12.96\n3.65,13.3225\n3.7,13.690000000000001\n3.75,14.0625\n3.8,14.44\n3.85,14.822500000000002\n3.9,15.209999999999999\n3.95,15.602500000000001\n4,16\n4.05,16.4025\n4.1,16.81\n4.15,17.222500000000004\n4.2,17.64\n4.25,18.0625\n4.3,18.49\n4.35,18.922499999999996\n4.4,19.360000000000003\n4.45,19.802500000000002\n4.5,20.25\n4.55,20.702499999999997\n4.6,21.159999999999997\n4.65,21.622500000000002\n4.7,22.090000000000003\n4.75,22.5625\n4.8,23.04\n4.85,23.522499999999997\n4.9,24.010000000000005\n4.95,24.5025\n5,25\n5.05,25.502499999999998\n5.1,26.009999999999998\n5.15,26.522500000000004\n5.2,27.040000000000003\n5.25,27.5625\n5.3,28.09\n5.35,28.622499999999995\n5.4,29.160000000000004\n5.45,29.7025\n5.5,30.25\n5.55,30.8025\n5.6,31.359999999999996\n5.65,31.922500000000003\n5.7,32.49\n5.75,33.0625\n5.8,33.64\n5.85,34.2225\n5.9,34.81\n5.95,35.4025\n6,36\n6.05,36.6025\n6.1,37.209999999999994\n6.15,37.822500000000005\n6.2,38.440000000000005\n6.25,39.0625\n6.3,39.69\n6.35,40.3225\n6.4,40.96000000000001\n6.45,41.6025\n6.5,42.25\n6.55,42.902499999999996\n6.6,43.559999999999995\n6.65,44.222500000000004\n6.7,44.89\n6.75,45.5625\n6.8,46.239999999999995\n6.85,46.92249999999999\n6.9,47.61000000000001\n6.95,48.3025\n7,49\n7.05,49.7025\n7.1,50.41\n7.15,51.1225\n7.2,51.84\n7.25,52.5625\n7.3,53.29\n7.35,54.022499999999994\n7.4,54.760000000000005\n7.45,55.502500000000005", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "B", + "scenarioId": "csv_content" + }, + { + "csvContent": "x3,sqrt(x)\n0,0\n0.05,2.23606797749979\n0.1,3.1622776601683795\n0.15,3.872983346207417\n0.2,4.47213595499958\n0.25,5\n0.3,5.47722557505166\n0.35,5.916079783099616\n0.4,6.324555320336759\n0.45,6.708203932499369\n0.5,7.0710678118654755\n0.55,7.416198487095663\n0.6,7.745966692414834\n0.65,8.062257748298551\n0.7,8.366600265340756\n0.75,8.660254037844386\n0.8,8.94427190999916\n0.85,9.219544457292887\n0.9,9.486832980505138\n0.95,9.746794344808963\n1,10\n1.05,10.2469507659596\n1.1,10.488088481701517\n1.15,10.723805294763608\n1.2,10.95445115010332\n1.25,11.180339887498949\n1.3,11.401754250991381\n1.35,11.618950038622252\n1.4,11.832159566199232\n1.45,12.041594578792296\n1.5,12.24744871391589\n1.55,12.449899597988733\n1.6,12.649110640673518\n1.65,12.84523257866513\n1.7,13.038404810405297\n1.75,13.228756555322953\n1.8,13.416407864998739\n1.85,13.601470508735442\n1.9,13.784048752090222\n1.95,13.96424004376894\n2,14.142135623730951\n2.05,14.317821063276352\n2.1,14.49137674618944\n2.15,14.66287829861518\n2.2,14.832396974191326\n2.25,15\n2.3,15.1657508881031\n2.35,15.329709716755893\n2.4,15.491933384829668\n2.45,15.652475842498529\n2.5,15.811388300841898\n2.55,15.968719422671311\n2.6,16.124515496597102\n2.65,16.278820596099706\n2.7,16.431676725154986\n2.75,16.583123951776997\n2.8,16.73320053068151\n2.85,16.881943016134134\n2.9,17.0293863659264\n2.95,17.175564037317667\n3,17.32050807568877\n3.05,17.46424919657298\n3.1,17.60681686165901\n3.15,17.74823934929885\n3.2,17.88854381999832\n3.25,18.027756377319946\n3.3,18.16590212458495\n3.35,18.303005217723125\n3.4,18.439088914585774\n3.45,18.57417562100671\n3.5,18.708286933869708\n3.55,18.84144368141677\n3.6,18.973665961010276\n3.65,19.1049731745428\n3.7,19.235384061671347\n3.75,19.364916731037084\n3.8,19.493588689617926\n3.85,19.621416870348586\n3.9,19.748417658131498\n3.95,19.87460691435179\n4,20\n4.05,20.124611797498105\n4.1,20.248456731316583\n4.15,20.37154878746336\n4.2,20.4939015319192\n4.25,20.615528128088304\n4.3,20.73644135332772\n4.35,20.85665361461421\n4.4,20.976176963403034\n4.45,21.095023109728984\n4.5,21.213203435596423\n4.55,21.330729007701542\n4.6,21.447610589527216\n4.65,21.563858652847827\n4.7,21.6794833886788\n4.75,21.79449471770337\n4.8,21.90890230020664\n4.85,22.022715545545243\n4.9,22.135943621178654\n4.95,22.24859546128699\n5,22.360679774997898\n5.05,22.47220505424423\n5.1,22.58317958127243\n5.15,22.693611435820436\n5.2,22.803508501982762\n5.25,22.9128784747792\n5.3,23.021728866442675\n5.35,23.130067012440755\n5.4,23.237900077244504\n5.45,23.345235059857504\n5.5,23.45207879911715\n5.55,23.55843797877949\n5.6,23.664319132398465\n5.65,23.769728648009426\n5.7,23.874672772626646\n5.75,23.979157616563597\n5.8,24.08318915758459\n5.85,24.186773244895647\n5.9,24.289915602982237\n5.95,24.392621835300936\n6,24.49489742783178\n6.05,24.596747752497684\n6.1,24.698178070456937\n6.15,24.79919353527449\n6.2,24.899799195977465\n6.25,25\n6.3,25.099800796022265\n6.35,25.199206336708304\n6.4,25.298221281347036\n6.45,25.39685019840059\n6.5,25.495097567963924\n6.55,25.592967784139454\n6.6,25.69046515733026\n6.65,25.787593916455258\n6.7,25.88435821108957\n6.75,25.98076211353316\n6.8,26.076809620810593\n6.85,26.1725046566048\n6.9,26.267851073127396\n6.95,26.362852652928133\n7,26.457513110645905\n7.05,26.551836094703507\n7.1,26.645825188948457\n7.15,26.739483914241873\n7.2,26.832815729997478\n7.25,26.92582403567252\n7.3,27.018512172212592\n7.35,27.11088342345192\n7.4,27.202941017470884\n7.45,27.294688127912362", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "C", + "scenarioId": "csv_content" + }, + { + "csvContent": "x4,-sqrt(x)\n0,0\n0.05,-2.23606797749979\n0.1,-3.1622776601683795\n0.15,-3.872983346207417\n0.2,-4.47213595499958\n0.25,-5\n0.3,-5.47722557505166\n0.35,-5.916079783099616\n0.4,-6.324555320336759\n0.45,-6.708203932499369\n0.5,-7.0710678118654755\n0.55,-7.416198487095663\n0.6,-7.745966692414834\n0.65,-8.062257748298551\n0.7,-8.366600265340756\n0.75,-8.660254037844386\n0.8,-8.94427190999916\n0.85,-9.219544457292887\n0.9,-9.486832980505138\n0.95,-9.746794344808963\n1,-10\n1.05,-10.2469507659596\n1.1,-10.488088481701517\n1.15,-10.723805294763608\n1.2,-10.95445115010332\n1.25,-11.180339887498949\n1.3,-11.401754250991381\n1.35,-11.618950038622252\n1.4,-11.832159566199232\n1.45,-12.041594578792296\n1.5,-12.24744871391589\n1.55,-12.449899597988733\n1.6,-12.649110640673518\n1.65,-12.84523257866513\n1.7,-13.038404810405297\n1.75,-13.228756555322953\n1.8,-13.416407864998739\n1.85,-13.601470508735442\n1.9,-13.784048752090222\n1.95,-13.96424004376894\n2,-14.142135623730951\n2.05,-14.317821063276352\n2.1,-14.49137674618944\n2.15,-14.66287829861518\n2.2,-14.832396974191326\n2.25,-15\n2.3,-15.1657508881031\n2.35,-15.329709716755893\n2.4,-15.491933384829668\n2.45,-15.652475842498529\n2.5,-15.811388300841898\n2.55,-15.968719422671311\n2.6,-16.124515496597102\n2.65,-16.278820596099706\n2.7,-16.431676725154986\n2.75,-16.583123951776997\n2.8,-16.73320053068151\n2.85,-16.881943016134134\n2.9,-17.0293863659264\n2.95,-17.175564037317667\n3,-17.32050807568877\n3.05,-17.46424919657298\n3.1,-17.60681686165901\n3.15,-17.74823934929885\n3.2,-17.88854381999832\n3.25,-18.027756377319946\n3.3,-18.16590212458495\n3.35,-18.303005217723125\n3.4,-18.439088914585774\n3.45,-18.57417562100671\n3.5,-18.708286933869708\n3.55,-18.84144368141677\n3.6,-18.973665961010276\n3.65,-19.1049731745428\n3.7,-19.235384061671347\n3.75,-19.364916731037084\n3.8,-19.493588689617926\n3.85,-19.621416870348586\n3.9,-19.748417658131498\n3.95,-19.87460691435179\n4,-20\n4.05,-20.124611797498105\n4.1,-20.248456731316583\n4.15,-20.37154878746336\n4.2,-20.4939015319192\n4.25,-20.615528128088304\n4.3,-20.73644135332772\n4.35,-20.85665361461421\n4.4,-20.976176963403034\n4.45,-21.095023109728984\n4.5,-21.213203435596423\n4.55,-21.330729007701542\n4.6,-21.447610589527216\n4.65,-21.563858652847827\n4.7,-21.6794833886788\n4.75,-21.79449471770337\n4.8,-21.90890230020664\n4.85,-22.022715545545243\n4.9,-22.135943621178654\n4.95,-22.24859546128699\n5,-22.360679774997898\n5.05,-22.47220505424423\n5.1,-22.58317958127243\n5.15,-22.693611435820436\n5.2,-22.803508501982762\n5.25,-22.9128784747792\n5.3,-23.021728866442675\n5.35,-23.130067012440755\n5.4,-23.237900077244504\n5.45,-23.345235059857504\n5.5,-23.45207879911715\n5.55,-23.55843797877949\n5.6,-23.664319132398465\n5.65,-23.769728648009426\n5.7,-23.874672772626646\n5.75,-23.979157616563597\n5.8,-24.08318915758459\n5.85,-24.186773244895647\n5.9,-24.289915602982237\n5.95,-24.392621835300936\n6,-24.49489742783178\n6.05,-24.596747752497684\n6.1,-24.698178070456937\n6.15,-24.79919353527449\n6.2,-24.899799195977465\n6.25,-25\n6.3,-25.099800796022265\n6.35,-25.199206336708304\n6.4,-25.298221281347036\n6.45,-25.39685019840059\n6.5,-25.495097567963924\n6.55,-25.592967784139454\n6.6,-25.69046515733026\n6.65,-25.787593916455258\n6.7,-25.88435821108957\n6.75,-25.98076211353316\n6.8,-26.076809620810593\n6.85,-26.1725046566048\n6.9,-26.267851073127396\n6.95,-26.362852652928133\n7,-26.457513110645905\n7.05,-26.551836094703507\n7.1,-26.645825188948457\n7.15,-26.739483914241873\n7.2,-26.832815729997478\n7.25,-26.92582403567252\n7.3,-27.018512172212592\n7.35,-27.11088342345192\n7.4,-27.202941017470884\n7.45,-27.294688127912362", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "D", + "scenarioId": "csv_content" + } + ], + "title": "Function Plots", + "type": "xychart" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 21, + "y": 0 + }, + "id": 10, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "---\n### XYChart\n\n- Multi-dimensional, non-timeseries data (scientific, financial, engineering)\n- Scatter plots, bubble charts, function graphs, and etch-a-sketch!\n", + "mode": "markdown" + }, + "pluginVersion": "10.3.0-pre", + "type": "text" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "red", + "mode": "fixed" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 15, + "w": 9, + "x": 12, + "y": 17 + }, + "id": 5, + "options": { + "dims": { + "frame": 0 + }, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "name": "Price", + "pointColor": { + "fixed": "#fade2a40" + }, + "pointSize": { + "field": "Price", + "fixed": 5, + "max": 50, + "min": 1 + }, + "x": "Lat", + "y": "Lng" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "csvFileName": "flight_info_by_state.csv", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_file" + } + ], + "title": "Bubble Charts", + "type": "xychart" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Miles_per_Gallon USA" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Miles_per_Gallon" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Horsepower USA" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Horsepower" + } + ] + } + ] + }, + "gridPos": { + "h": 12, + "w": 6, + "x": 0, + "y": 20 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "name": "USA", + "pointColor": { + "fixed": "#f2495c80" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Horsepower USA", + "y": "Miles_per_Gallon USA" + }, + { + "name": "Europe", + "pointColor": { + "fixed": "#5795f280" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Horsepower Europe", + "y": "Miles_per_Gallon Europe" + }, + { + "name": "Japan", + "pointColor": { + "fixed": "#ff983080" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Horsepower Japan", + "y": "Miles_per_Gallon Japan" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "csvFileName": "automobiles.csv", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_file" + } + ], + "title": "MPG vs HP (by Country)", + "transformations": [ + { + "id": "partitionByValues", + "options": { + "fields": [ + "Origin" + ] + } + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineWidth": 1, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Miles_per_Gallon USA" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Miles_per_Gallon" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Acceleration USA" + }, + "properties": [ + { + "id": "custom.axisLabel", + "value": "Acceleration" + } + ] + } + ] + }, + "gridPos": { + "h": 12, + "w": 6, + "x": 6, + "y": 20 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "name": "USA", + "pointColor": { + "fixed": "#f2495c80" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Acceleration USA", + "y": "Miles_per_Gallon USA" + }, + { + "name": "Europe", + "pointColor": { + "fixed": "#5795f280" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Acceleration Europe", + "y": "Miles_per_Gallon Europe" + }, + { + "name": "Japan", + "pointColor": { + "fixed": "#ff983080" + }, + "pointSize": { + "fixed": 5, + "max": 20, + "min": 1 + }, + "x": "Acceleration Japan", + "y": "Miles_per_Gallon Japan" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "csvFileName": "automobiles.csv", + "datasource": { + "type": "testdata", + "uid": "PD8C576611E62080A" + }, + "refId": "A", + "scenarioId": "csv_file" + } + ], + "title": "MPG vs Acceleration (by Country)", + "transformations": [ + { + "id": "partitionByValues", + "options": { + "fields": [ + "Origin" + ] + } + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "grafana", + "uid": "grafana" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointSize": { + "fixed": 5 + }, + "scaleDistribution": { + "type": "linear" + }, + "show": "points" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 11, + "options": { + "dims": { + "exclude": [ + "co TLM0100" + ], + "x": "humidity TLM0100" + }, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "series": [ + { + "pointColor": {}, + "x": "humidity", + "y": "temperature" + } + ], + "seriesMapping": "manual", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "grafana", + "uid": "grafana" + }, + "queryType": "snapshot", + "refId": "A", + "snapshot": [ + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.4860747509084685, + 0.4790778553981873, + 0.4597786615711249, + 0.4478751241705323, + 0.44020548182152397, + 0.4569020188814074, + 0.4655250429581913, + 0.4819032762634117, + 0.491365303224968, + 0.5092239049148886 + ], + [ + 35.084960222673146, + 35.089101898649055, + 35.130020139289115, + 35.10251705413486, + 35.08184755996438, + 35.04582600108574, + 35.09077388700681, + 35.04096375315356, + 35.05647864027338, + 35.091800720894916 + ], + [ + 71.2187151336704, + 71.24617135003214, + 71.21726829714834, + 71.26528218716341, + 71.26084702358875, + 71.24054378677393, + 71.27884802991244, + 71.29783163616926, + 71.33230999794793, + 71.34975514559837 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0100" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0100" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0100" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "meta": { + "executedQueryString": "import \"influxdata/influxdb/sample\"\nimport \"influxdata/influxdb/schema\"\n\nsample.data(set: \"airSensor\")\n |> limit(n: 10)\n |> group(columns: [\"sensor_id\"])\n |> schema.fieldsAsCols()\n", + "typeVersion": [ + 0, + 0 + ] + }, + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.4964171323208575, + 0.48257922637952133, + 0.46567087322576145, + 0.4467650568596856, + 0.4417772514767169, + 0.4341379534638706, + 0.439345038257859, + 0.43452737707188627, + 0.42417500678639164, + 0.40704613738954887 + ], + [ + 34.92662088456207, + 34.91464944732493, + 34.95985887959429, + 34.929238294894844, + 34.954103486412336, + 34.98895514808448, + 35.03476240219413, + 35.028863365125844, + 35.03717014192905, + 35.00775919996651 + ], + [ + 71.83521495327129, + 71.83370684393908, + 71.83712160725877, + 71.88299650060345, + 71.90526594972503, + 71.8631768515712, + 71.85577028152356, + 71.89245169322045, + 71.93606971457449, + 71.96164771829956 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0101" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0101" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0101" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.4870365157212326, + 0.5032215395360725, + 0.5035259485542879, + 0.4841798164121083, + 0.483812619615984, + 0.4882993499867786, + 0.4719009580435705, + 0.4700689455810135, + 0.48112413053169706, + 0.4691106107162724 + ], + [ + 34.86359615237462, + 34.84629630959152, + 34.81771460191974, + 34.854640808896036, + 34.86699022367547, + 34.864319179513096, + 34.86915527122888, + 34.89889649251399, + 34.86576388906259, + 34.88622805723735 + ], + [ + 72.03972207916735, + 72.05566134520713, + 72.08473708469143, + 72.07306942754916, + 72.0427409958616, + 72.04536459775873, + 72.09400368933838, + 72.14293243585941, + 72.18840859469728, + 72.15524663568557 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0102" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0102" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0102" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.3979338437168368, + 0.4117117830425588, + 0.4000376537804249, + 0.40114553332960723, + 0.3909759394807085, + 0.38213452854680874, + 0.37339826793170855, + 0.3624713623472977, + 0.35640734768856297, + 0.35690557816119645 + ], + [ + 35.16192242281515, + 35.19891757080395, + 35.23754373785834, + 35.25270355198698, + 35.29525947947623, + 35.272026086051184, + 35.275233467451635, + 35.23834593104291, + 35.25233833634368, + 35.22053598631417 + ], + [ + 71.29169927438586, + 71.32114142326272, + 71.33632903748085, + 71.3064635464553, + 71.26436580075855, + 71.30431517798449, + 71.28861822950174, + 71.26778760430453, + 71.23481860950403, + 71.23084180913762 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0103" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0103" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0103" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.5129015632374951, + 0.552968955740271, + 0.5690444135565038, + 0.6050221760178951, + 0.5943904374498042, + 0.6153588301241533, + 0.6164375823908576, + 0.6059635952981327, + 0.6470283318343141, + 0.6861075098169984 + ], + [ + 35.75385592664215, + 35.753218714107504, + 35.72547059379115, + 35.74553237372676, + 35.73378268235891, + 35.747560005048086, + 35.769867599816735, + 35.73929899563808, + 35.705317880681875, + 35.65611547721327 + ], + [ + 73.64806558624832, + 73.65728412124716, + 73.68805520135102, + 73.65185281162863, + 73.63499402146681, + 73.68359308763364, + 73.64682180062367, + 73.63298265031713, + 73.59096788790947, + 73.6381949597034 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0200" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0200" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0200" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.5082489903097206, + 0.525490999229553, + 0.5300688563597754, + 0.5351282770519872, + 0.533437724470923, + 0.5164188260958164, + 0.5134188770545406, + 0.4949993424337248, + 0.4960387472164697, + 0.5046934441184395 + ], + [ + 35.24972613768055, + 35.238916979727335, + 35.28758958750148, + 35.26413172906637, + 35.2875488141577, + 35.32420268624064, + 35.2932945023372, + 35.277959228995584, + 35.27901195680498, + 35.27056468599647 + ], + [ + 73.99618150289902, + 74.01973867729899, + 73.97488048626532, + 73.97027021897547, + 73.96055098802299, + 73.94544160099603, + 73.91010608315078, + 73.9594600253564, + 73.93323000030807, + 73.94265737589377 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0201" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0201" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0201" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.4843506884938821, + 0.48132272563110234, + 0.4738268718199932, + 0.4929629619836042, + 0.4730642763470896, + 0.4654986284178103, + 0.47939137148137106, + 0.4729232244284411, + 0.48941836624955776, + 0.49438537058971027 + ], + [ + 35.6843507637763, + 35.67052290561625, + 35.651191124511904, + 35.682694567957775, + 35.71754463951193, + 35.73271359197846, + 35.76201128140823, + 35.72031962293351, + 35.76508898680512, + 35.77376488207177 + ], + [ + 75.28536533620796, + 75.3203884403274, + 75.32915092826639, + 75.3260291876276, + 75.29613126188146, + 75.31098782530198, + 75.27434784939884, + 75.30929861509146, + 75.32818662869892, + 75.33650169518009 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0202" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0202" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0202" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + }, + { + "data": { + "values": [ + [ + 1686898151000, + 1686898161000, + 1686898171000, + 1686898181000, + 1686898191000, + 1686898201000, + 1686898211000, + 1686898221000, + 1686898231000, + 1686898241000 + ], + [ + 0.39373421338928505, + 0.40929905142175416, + 0.39727569840202215, + 0.415834035946844, + 0.413865826090914, + 0.4271278288285897, + 0.435277474574255, + 0.4480042029285831, + 0.462641109361364, + 0.4566678920783633 + ], + [ + 35.86322585633077, + 35.88732568460068, + 35.87553827435961, + 35.84063967239316, + 35.813642046057005, + 35.8569165461967, + 35.80924651587166, + 35.80599199551315, + 35.75906423980926, + 35.79948361256034 + ], + [ + 74.78112365229704, + 74.73821283157658, + 74.73019922701285, + 74.73280967321202, + 74.74885460260536, + 74.70880911705714, + 74.73346687605624, + 74.77682413662681, + 74.80562351134131, + 74.82881664528719 + ] + ] + }, + "schema": { + "fields": [ + { + "config": {}, + "name": "_time", + "type": "time", + "typeInfo": { + "frame": "time.Time", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0203" + }, + "name": "co", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0203" + }, + "name": "humidity", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + }, + { + "config": {}, + "labels": { + "sensor_id": "TLM0203" + }, + "name": "temperature", + "type": "number", + "typeInfo": { + "frame": "float64", + "nullable": true + } + } + ], + "refId": "A" + } + } + ] + } + ], + "title": "Multi-series Temperature vs Humidity", + "type": "xychart" + } + ], + "refresh": "", + "schemaVersion": 39, + "tags": [ + "gdev", + "panel-tests", + "xychat" + ], + "templating": { + "list": [] + }, + "time": { + "from": "2022-10-07T05:04:04.516Z", + "to": "2022-10-07T17:04:04.516Z" + }, + "timepicker": {}, + "timezone": "", + "title": "Panel Tests - XY Chart", + "uid": "YObbMr44k", + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/devenv/jsonnet/dev-dashboards.libsonnet b/devenv/jsonnet/dev-dashboards.libsonnet index 02aceb37b7f..9c4bf51ed75 100644 --- a/devenv/jsonnet/dev-dashboards.libsonnet +++ b/devenv/jsonnet/dev-dashboards.libsonnet @@ -835,5 +835,12 @@ local dashboard = grafana.dashboard; id: 0, } }, + dashboard.new('xychart-example', import '../dev-dashboards/panel-xychart/xychart-example.json') + + resource.addMetadata('folder', 'dev-dashboards') + + { + spec+: { + id: 0, + } + }, ], } \ No newline at end of file diff --git a/pkg/tsdb/grafana-testdata-datasource/data/automobiles.csv b/pkg/tsdb/grafana-testdata-datasource/data/automobiles.csv new file mode 100644 index 00000000000..2a1623ecc9c --- /dev/null +++ b/pkg/tsdb/grafana-testdata-datasource/data/automobiles.csv @@ -0,0 +1,407 @@ +Year,Origin,Make,Model,Miles_per_Gallon,Cylinders,Displacement,Horsepower,Weight_in_lbs,Acceleration +1970-01-01T00:00:00,USA,chevrolet,chevelle malibu,18,8,307,130,3504,12 +1970-01-01T00:00:00,USA,buick,skylark 320,15,8,350,165,3693,11.5 +1970-01-01T00:00:00,USA,plymouth,satellite,18,8,318,150,3436,11 +1970-01-01T00:00:00,USA,amc,rebel sst,16,8,304,150,3433,12 +1970-01-01T00:00:00,USA,ford,torino,17,8,302,140,3449,10.5 +1970-01-01T00:00:00,USA,ford,galaxie 500,15,8,429,198,4341,10 +1970-01-01T00:00:00,USA,chevrolet,impala,14,8,454,220,4354,9 +1970-01-01T00:00:00,USA,plymouth,fury iii,14,8,440,215,4312,8.5 +1970-01-01T00:00:00,USA,pontiac,catalina,14,8,455,225,4425,10 +1970-01-01T00:00:00,USA,amc,ambassador dpl,15,8,390,190,3850,8.5 +1970-01-01T00:00:00,Europe,citroen,ds-21 pallas,,4,133,115,3090,17.5 +1970-01-01T00:00:00,USA,chevrolet,chevelle concours (sw),,8,350,165,4142,11.5 +1970-01-01T00:00:00,USA,ford,torino (sw),,8,351,153,4034,11 +1970-01-01T00:00:00,USA,plymouth,satellite (sw),,8,383,175,4166,10.5 +1970-01-01T00:00:00,USA,amc,rebel sst (sw),,8,360,175,3850,11 +1970-01-01T00:00:00,USA,dodge,challenger se,15,8,383,170,3563,10 +1970-01-01T00:00:00,USA,plymouth,'cuda 340,14,8,340,160,3609,8 +1970-01-01T00:00:00,USA,ford,mustang boss 302,,8,302,140,3353,8 +1970-01-01T00:00:00,USA,chevrolet,monte carlo,15,8,400,150,3761,9.5 +1970-01-01T00:00:00,USA,buick,estate wagon (sw),14,8,455,225,3086,10 +1970-01-01T00:00:00,Japan,toyota,corona mark ii,24,4,113,95,2372,15 +1970-01-01T00:00:00,USA,plymouth,duster,22,6,198,95,2833,15.5 +1970-01-01T00:00:00,USA,amc,hornet,18,6,199,97,2774,15.5 +1970-01-01T00:00:00,USA,ford,maverick,21,6,200,85,2587,16 +1970-01-01T00:00:00,Japan,datsun,pl510,27,4,97,88,2130,14.5 +1970-01-01T00:00:00,Europe,volkswagen,1131 deluxe sedan,26,4,97,46,1835,20.5 +1970-01-01T00:00:00,Europe,peugeot,504,25,4,110,87,2672,17.5 +1970-01-01T00:00:00,Europe,audi,100 ls,24,4,107,90,2430,14.5 +1970-01-01T00:00:00,Europe,saab,99e,25,4,104,95,2375,17.5 +1970-01-01T00:00:00,Europe,bmw,2002,26,4,121,113,2234,12.5 +1970-01-01T00:00:00,USA,amc,gremlin,21,6,199,90,2648,15 +1970-01-01T00:00:00,USA,ford,f250,10,8,360,215,4615,14 +1970-01-01T00:00:00,USA,chevrolet,c20,10,8,307,200,4376,15 +1970-01-01T00:00:00,USA,dodge,d200,11,8,318,210,4382,13.5 +1970-01-01T00:00:00,USA,hi,1200d,9,8,304,193,4732,18.5 +1971-01-01T00:00:00,Japan,datsun,pl510,27,4,97,88,2130,14.5 +1971-01-01T00:00:00,USA,chevrolet,vega 2300,28,4,140,90,2264,15.5 +1971-01-01T00:00:00,Japan,toyota,corona,25,4,113,95,2228,14 +1971-01-01T00:00:00,USA,ford,pinto,25,4,98,,2046,19 +1971-01-01T00:00:00,Europe,volkswagen,super beetle 117,,4,97,48,1978,20 +1971-01-01T00:00:00,USA,amc,gremlin,19,6,232,100,2634,13 +1971-01-01T00:00:00,USA,plymouth,satellite custom,16,6,225,105,3439,15.5 +1971-01-01T00:00:00,USA,chevrolet,chevelle malibu,17,6,250,100,3329,15.5 +1971-01-01T00:00:00,USA,ford,torino 500,19,6,250,88,3302,15.5 +1971-01-01T00:00:00,USA,amc,matador,18,6,232,100,3288,15.5 +1971-01-01T00:00:00,USA,chevrolet,impala,14,8,350,165,4209,12 +1971-01-01T00:00:00,USA,pontiac,catalina brougham,14,8,400,175,4464,11.5 +1971-01-01T00:00:00,USA,ford,galaxie 500,14,8,351,153,4154,13.5 +1971-01-01T00:00:00,USA,plymouth,fury iii,14,8,318,150,4096,13 +1971-01-01T00:00:00,USA,dodge,monaco (sw),12,8,383,180,4955,11.5 +1971-01-01T00:00:00,USA,ford,country squire (sw),13,8,400,170,4746,12 +1971-01-01T00:00:00,USA,pontiac,safari (sw),13,8,400,175,5140,12 +1971-01-01T00:00:00,USA,amc,hornet sportabout (sw),18,6,258,110,2962,13.5 +1971-01-01T00:00:00,USA,chevrolet,vega (sw),22,4,140,72,2408,19 +1971-01-01T00:00:00,USA,pontiac,firebird,19,6,250,100,3282,15 +1971-01-01T00:00:00,USA,ford,mustang,18,6,250,88,3139,14.5 +1971-01-01T00:00:00,USA,mercury,capri 2000,23,4,122,86,2220,14 +1971-01-01T00:00:00,Europe,opel,1900,28,4,116,90,2123,14 +1971-01-01T00:00:00,Europe,peugeot,304,30,4,79,70,2074,19.5 +1971-01-01T00:00:00,Europe,fiat,124b,30,4,88,76,2065,14.5 +1971-01-01T00:00:00,Japan,toyota,corolla 1200,31,4,71,65,1773,19 +1971-01-01T00:00:00,Japan,datsun,1200,35,4,72,69,1613,18 +1971-01-01T00:00:00,Europe,volkswagen,model 111,27,4,97,60,1834,19 +1971-01-01T00:00:00,USA,plymouth,cricket,26,4,91,70,1955,20.5 +1972-01-01T00:00:00,Japan,toyota,corona hardtop,24,4,113,95,2278,15.5 +1972-01-01T00:00:00,USA,dodge,colt hardtop,25,4,97.5,80,2126,17 +1972-01-01T00:00:00,Europe,volkswagen,type 3,23,4,97,54,2254,23.5 +1972-01-01T00:00:00,USA,chevrolet,vega,20,4,140,90,2408,19.5 +1972-01-01T00:00:00,USA,ford,pinto runabout,21,4,122,86,2226,16.5 +1972-01-01T00:00:00,USA,chevrolet,impala,13,8,350,165,4274,12 +1972-01-01T00:00:00,USA,pontiac,catalina,14,8,400,175,4385,12 +1972-01-01T00:00:00,USA,plymouth,fury iii,15,8,318,150,4135,13.5 +1972-01-01T00:00:00,USA,ford,galaxie 500,14,8,351,153,4129,13 +1972-01-01T00:00:00,USA,amc,ambassador sst,17,8,304,150,3672,11.5 +1972-01-01T00:00:00,USA,mercury,marquis,11,8,429,208,4633,11 +1972-01-01T00:00:00,USA,buick,lesabre custom,13,8,350,155,4502,13.5 +1972-01-01T00:00:00,USA,oldsmobile,delta 88 royale,12,8,350,160,4456,13.5 +1972-01-01T00:00:00,USA,chrysler,newport royal,13,8,400,190,4422,12.5 +1972-01-01T00:00:00,Japan,mazda,rx2 coupe,19,3,70,97,2330,13.5 +1972-01-01T00:00:00,USA,amc,matador (sw),15,8,304,150,3892,12.5 +1972-01-01T00:00:00,USA,chevrolet,chevelle concours (sw),13,8,307,130,4098,14 +1972-01-01T00:00:00,USA,ford,gran torino (sw),13,8,302,140,4294,16 +1972-01-01T00:00:00,USA,plymouth,satellite custom (sw),14,8,318,150,4077,14 +1972-01-01T00:00:00,Europe,volvo,145e (sw),18,4,121,112,2933,14.5 +1972-01-01T00:00:00,Europe,volkswagen,411 (sw),22,4,121,76,2511,18 +1972-01-01T00:00:00,Europe,peugeot,504 (sw),21,4,120,87,2979,19.5 +1972-01-01T00:00:00,Europe,renault,12 (sw),26,4,96,69,2189,18 +1972-01-01T00:00:00,USA,ford,pinto (sw),22,4,122,86,2395,16 +1972-01-01T00:00:00,Japan,datsun,510 (sw),28,4,97,92,2288,17 +1972-01-01T00:00:00,Japan,toyota,corona mark ii (sw),23,4,120,97,2506,14.5 +1972-01-01T00:00:00,USA,dodge,colt (sw),28,4,98,80,2164,15 +1972-01-01T00:00:00,Japan,toyota,corolla 1600 (sw),27,4,97,88,2100,16.5 +1973-01-01T00:00:00,USA,buick,century 350,13,8,350,175,4100,13 +1973-01-01T00:00:00,USA,amc,matador,14,8,304,150,3672,11.5 +1973-01-01T00:00:00,USA,chevrolet,malibu,13,8,350,145,3988,13 +1973-01-01T00:00:00,USA,ford,gran torino,14,8,302,137,4042,14.5 +1973-01-01T00:00:00,USA,dodge,coronet custom,15,8,318,150,3777,12.5 +1973-01-01T00:00:00,USA,mercury,marquis brougham,12,8,429,198,4952,11.5 +1973-01-01T00:00:00,USA,chevrolet,caprice classic,13,8,400,150,4464,12 +1973-01-01T00:00:00,USA,ford,ltd,13,8,351,158,4363,13 +1973-01-01T00:00:00,USA,plymouth,fury gran sedan,14,8,318,150,4237,14.5 +1973-01-01T00:00:00,USA,chrysler,new yorker brougham,13,8,440,215,4735,11 +1973-01-01T00:00:00,USA,buick,electra 225 custom,12,8,455,225,4951,11 +1973-01-01T00:00:00,USA,amc,ambassador brougham,13,8,360,175,3821,11 +1973-01-01T00:00:00,USA,plymouth,valiant,18,6,225,105,3121,16.5 +1973-01-01T00:00:00,USA,chevrolet,nova custom,16,6,250,100,3278,18 +1973-01-01T00:00:00,USA,amc,hornet,18,6,232,100,2945,16 +1973-01-01T00:00:00,USA,ford,maverick,18,6,250,88,3021,16.5 +1973-01-01T00:00:00,USA,plymouth,duster,23,6,198,95,2904,16 +1973-01-01T00:00:00,Europe,volkswagen,super beetle,26,4,97,46,1950,21 +1973-01-01T00:00:00,USA,chevrolet,impala,11,8,400,150,4997,14 +1973-01-01T00:00:00,USA,ford,country,12,8,400,167,4906,12.5 +1973-01-01T00:00:00,USA,plymouth,custom suburb,13,8,360,170,4654,13 +1973-01-01T00:00:00,USA,oldsmobile,vista cruiser,12,8,350,180,4499,12.5 +1973-01-01T00:00:00,USA,amc,gremlin,18,6,232,100,2789,15 +1973-01-01T00:00:00,Japan,toyota,carina,20,4,97,88,2279,19 +1973-01-01T00:00:00,USA,chevrolet,vega,21,4,140,72,2401,19.5 +1973-01-01T00:00:00,Japan,datsun,610,22,4,108,94,2379,16.5 +1973-01-01T00:00:00,Japan,mazda,rx3,18,3,70,90,2124,13.5 +1973-01-01T00:00:00,USA,ford,pinto,19,4,122,85,2310,18.5 +1973-01-01T00:00:00,USA,mercury,capri v6,21,6,155,107,2472,14 +1973-01-01T00:00:00,Europe,fiat,124 sport coupe,26,4,98,90,2265,15.5 +1973-01-01T00:00:00,USA,chevrolet,monte carlo s,15,8,350,145,4082,13 +1973-01-01T00:00:00,USA,pontiac,grand prix,16,8,400,230,4278,9.5 +1973-01-01T00:00:00,Europe,fiat,128,29,4,68,49,1867,19.5 +1973-01-01T00:00:00,Europe,opel,manta,24,4,116,75,2158,15.5 +1973-01-01T00:00:00,Europe,audi,100ls,20,4,114,91,2582,14 +1973-01-01T00:00:00,Europe,volvo,144ea,19,4,121,112,2868,15.5 +1973-01-01T00:00:00,USA,dodge,dart custom,15,8,318,150,3399,11 +1973-01-01T00:00:00,Europe,saab,99le,24,4,121,110,2660,14 +1973-01-01T00:00:00,Japan,toyota,mark ii,20,6,156,122,2807,13.5 +1973-01-01T00:00:00,USA,oldsmobile,omega,11,8,350,180,3664,11 +1974-01-01T00:00:00,USA,plymouth,duster,20,6,198,95,3102,16.5 +1974-01-01T00:00:00,USA,ford,maverick,21,6,200,,2875,17 +1974-01-01T00:00:00,USA,amc,hornet,19,6,232,100,2901,16 +1974-01-01T00:00:00,USA,chevrolet,nova,15,6,250,100,3336,17 +1974-01-01T00:00:00,Japan,datsun,b210,31,4,79,67,1950,19 +1974-01-01T00:00:00,USA,ford,pinto,26,4,122,80,2451,16.5 +1974-01-01T00:00:00,Japan,toyota,corolla 1200,32,4,71,65,1836,21 +1974-01-01T00:00:00,USA,chevrolet,vega,25,4,140,75,2542,17 +1974-01-01T00:00:00,USA,chevrolet,chevelle malibu classic,16,6,250,100,3781,17 +1974-01-01T00:00:00,USA,amc,matador,16,6,258,110,3632,18 +1974-01-01T00:00:00,USA,plymouth,satellite sebring,18,6,225,105,3613,16.5 +1974-01-01T00:00:00,USA,ford,gran torino,16,8,302,140,4141,14 +1974-01-01T00:00:00,USA,buick,century luxus (sw),13,8,350,150,4699,14.5 +1974-01-01T00:00:00,USA,dodge,coronet custom (sw),14,8,318,150,4457,13.5 +1974-01-01T00:00:00,USA,ford,gran torino (sw),14,8,302,140,4638,16 +1974-01-01T00:00:00,USA,amc,matador (sw),14,8,304,150,4257,15.5 +1974-01-01T00:00:00,Europe,audi,fox,29,4,98,83,2219,16.5 +1974-01-01T00:00:00,Europe,volkswagen,dasher,26,4,79,67,1963,15.5 +1974-01-01T00:00:00,Europe,opel,manta,26,4,97,78,2300,14.5 +1974-01-01T00:00:00,Japan,toyota,corona,31,4,76,52,1649,16.5 +1974-01-01T00:00:00,Japan,datsun,710,32,4,83,61,2003,19 +1974-01-01T00:00:00,USA,dodge,colt,28,4,90,75,2125,14.5 +1974-01-01T00:00:00,Europe,fiat,128,24,4,90,75,2108,15.5 +1974-01-01T00:00:00,Europe,fiat,124 tc,26,4,116,75,2246,14 +1974-01-01T00:00:00,Japan,honda,civic,24,4,120,97,2489,15 +1974-01-01T00:00:00,Japan,,subaru,26,4,108,93,2391,15.5 +1974-01-01T00:00:00,Europe,fiat,x1.9,31,4,79,67,2000,16 +1975-01-01T00:00:00,USA,plymouth,valiant custom,19,6,225,95,3264,16 +1975-01-01T00:00:00,USA,chevrolet,nova,18,6,250,105,3459,16 +1975-01-01T00:00:00,USA,mercury,monarch,15,6,250,72,3432,21 +1975-01-01T00:00:00,USA,ford,maverick,15,6,250,72,3158,19.5 +1975-01-01T00:00:00,USA,pontiac,catalina,16,8,400,170,4668,11.5 +1975-01-01T00:00:00,USA,chevrolet,bel air,15,8,350,145,4440,14 +1975-01-01T00:00:00,USA,plymouth,grand fury,16,8,318,150,4498,14.5 +1975-01-01T00:00:00,USA,ford,ltd,14,8,351,148,4657,13.5 +1975-01-01T00:00:00,USA,buick,century,17,6,231,110,3907,21 +1975-01-01T00:00:00,USA,chevroelt,chevelle malibu,16,6,250,105,3897,18.5 +1975-01-01T00:00:00,USA,amc,matador,15,6,258,110,3730,19 +1975-01-01T00:00:00,USA,plymouth,fury,18,6,225,95,3785,19 +1975-01-01T00:00:00,USA,buick,skyhawk,21,6,231,110,3039,15 +1975-01-01T00:00:00,USA,chevrolet,monza 2+2,20,8,262,110,3221,13.5 +1975-01-01T00:00:00,USA,ford,mustang ii,13,8,302,129,3169,12 +1975-01-01T00:00:00,Japan,toyota,corolla,29,4,97,75,2171,16 +1975-01-01T00:00:00,USA,ford,pinto,23,4,140,83,2639,17 +1975-01-01T00:00:00,USA,amc,gremlin,20,6,232,100,2914,16 +1975-01-01T00:00:00,USA,pontiac,astro,23,4,140,78,2592,18.5 +1975-01-01T00:00:00,Japan,toyota,corona,24,4,134,96,2702,13.5 +1975-01-01T00:00:00,Europe,volkswagen,dasher,25,4,90,71,2223,16.5 +1975-01-01T00:00:00,Japan,datsun,710,24,4,119,97,2545,17 +1975-01-01T00:00:00,USA,ford,pinto,18,6,171,97,2984,14.5 +1975-01-01T00:00:00,Europe,volkswagen,rabbit,29,4,90,70,1937,14 +1975-01-01T00:00:00,USA,amc,pacer,19,6,232,90,3211,17 +1975-01-01T00:00:00,Europe,audi,100ls,23,4,115,95,2694,15 +1975-01-01T00:00:00,Europe,peugeot,504,23,4,120,88,2957,17 +1975-01-01T00:00:00,Europe,volvo,244dl,22,4,121,98,2945,14.5 +1975-01-01T00:00:00,Europe,saab,99le,25,4,121,115,2671,13.5 +1975-01-01T00:00:00,Japan,honda,civic cvcc,33,4,91,53,1795,17.5 +1976-01-01T00:00:00,Europe,fiat,131,28,4,107,86,2464,15.5 +1976-01-01T00:00:00,Europe,opel,1900,25,4,116,81,2220,16.9 +1976-01-01T00:00:00,USA,capri,ii,25,4,140,92,2572,14.9 +1976-01-01T00:00:00,USA,dodge,colt,26,4,98,79,2255,17.7 +1976-01-01T00:00:00,Europe,renault,12tl,27,4,101,83,2202,15.3 +1976-01-01T00:00:00,USA,chevrolet,chevelle malibu classic,17.5,8,305,140,4215,13 +1976-01-01T00:00:00,USA,dodge,coronet brougham,16,8,318,150,4190,13 +1976-01-01T00:00:00,USA,amc,matador,15.5,8,304,120,3962,13.9 +1976-01-01T00:00:00,USA,ford,gran torino,14.5,8,351,152,4215,12.8 +1976-01-01T00:00:00,USA,plymouth,valiant,22,6,225,100,3233,15.4 +1976-01-01T00:00:00,USA,chevrolet,nova,22,6,250,105,3353,14.5 +1976-01-01T00:00:00,USA,ford,maverick,24,6,200,81,3012,17.6 +1976-01-01T00:00:00,USA,amc,hornet,22.5,6,232,90,3085,17.6 +1976-01-01T00:00:00,USA,chevrolet,chevette,29,4,85,52,2035,22.2 +1976-01-01T00:00:00,USA,chevrolet,woody,24.5,4,98,60,2164,22.1 +1976-01-01T00:00:00,Europe,volkswagen,rabbit,29,4,90,70,1937,14.2 +1976-01-01T00:00:00,Japan,honda,civic,33,4,91,53,1795,17.4 +1976-01-01T00:00:00,USA,dodge,aspen se,20,6,225,100,3651,17.7 +1976-01-01T00:00:00,USA,ford,granada ghia,18,6,250,78,3574,21 +1976-01-01T00:00:00,USA,pontiac,ventura sj,18.5,6,250,110,3645,16.2 +1976-01-01T00:00:00,USA,amc,pacer d/l,17.5,6,258,95,3193,17.8 +1976-01-01T00:00:00,Europe,volkswagen,rabbit,29.5,4,97,71,1825,12.2 +1976-01-01T00:00:00,Japan,datsun,b-210,32,4,85,70,1990,17 +1976-01-01T00:00:00,Japan,toyota,corolla,28,4,97,75,2155,16.4 +1976-01-01T00:00:00,USA,ford,pinto,26.5,4,140,72,2565,13.6 +1976-01-01T00:00:00,Europe,volvo,245,20,4,130,102,3150,15.7 +1976-01-01T00:00:00,USA,plymouth,volare premier v8,13,8,318,150,3940,13.2 +1976-01-01T00:00:00,Europe,peugeot,504,19,4,120,88,3270,21.9 +1976-01-01T00:00:00,Japan,toyota,mark ii,19,6,156,108,2930,15.5 +1976-01-01T00:00:00,Europe,mercedes-benz,280s,16.5,6,168,120,3820,16.7 +1976-01-01T00:00:00,USA,cadillac,seville,16.5,8,350,180,4380,12.1 +1976-01-01T00:00:00,USA,chevrolet,c10,13,8,350,145,4055,12 +1976-01-01T00:00:00,USA,ford,f108,13,8,302,130,3870,15 +1976-01-01T00:00:00,USA,dodge,d100,13,8,318,150,3755,14 +1977-01-01T00:00:00,Japan,honda,Accelerationord cvcc,31.5,4,98,68,2045,18.5 +1977-01-01T00:00:00,USA,buick,opel isuzu deluxe,30,4,111,80,2155,14.8 +1977-01-01T00:00:00,Europe,renault,5 gtl,36,4,79,58,1825,18.6 +1977-01-01T00:00:00,USA,plymouth,arrow gs,25.5,4,122,96,2300,15.5 +1977-01-01T00:00:00,Japan,datsun,f-10 hatchback,33.5,4,85,70,1945,16.8 +1977-01-01T00:00:00,USA,chevrolet,caprice classic,17.5,8,305,145,3880,12.5 +1977-01-01T00:00:00,USA,oldsmobile,cutlass supreme,17,8,260,110,4060,19 +1977-01-01T00:00:00,USA,dodge,monaco brougham,15.5,8,318,145,4140,13.7 +1977-01-01T00:00:00,USA,mercury,cougar brougham,15,8,302,130,4295,14.9 +1977-01-01T00:00:00,USA,chevrolet,concours,17.5,6,250,110,3520,16.4 +1977-01-01T00:00:00,USA,buick,skylark,20.5,6,231,105,3425,16.9 +1977-01-01T00:00:00,USA,plymouth,volare custom,19,6,225,100,3630,17.7 +1977-01-01T00:00:00,USA,ford,granada,18.5,6,250,98,3525,19 +1977-01-01T00:00:00,USA,pontiac,grand prix lj,16,8,400,180,4220,11.1 +1977-01-01T00:00:00,USA,chevrolet,monte carlo landau,15.5,8,350,170,4165,11.4 +1977-01-01T00:00:00,USA,chrysler,cordoba,15.5,8,400,190,4325,12.2 +1977-01-01T00:00:00,USA,ford,thunderbird,16,8,351,149,4335,14.5 +1977-01-01T00:00:00,Europe,volkswagen,rabbit custom,29,4,97,78,1940,14.5 +1977-01-01T00:00:00,USA,pontiac,sunbird coupe,24.5,4,151,88,2740,16 +1977-01-01T00:00:00,Japan,toyota,corolla liftback,26,4,97,75,2265,18.2 +1977-01-01T00:00:00,USA,ford,mustang ii 2+2,25.5,4,140,89,2755,15.8 +1977-01-01T00:00:00,USA,chevrolet,chevette,30.5,4,98,63,2051,17 +1977-01-01T00:00:00,USA,dodge,colt m/m,33.5,4,98,83,2075,15.9 +1977-01-01T00:00:00,Japan,subaru,dl,30,4,97,67,1985,16.4 +1977-01-01T00:00:00,Europe,volkswagen,dasher,30.5,4,97,78,2190,14.1 +1977-01-01T00:00:00,Japan,datsun,810,22,6,146,97,2815,14.5 +1977-01-01T00:00:00,Europe,bmw,320i,21.5,4,121,110,2600,12.8 +1977-01-01T00:00:00,Japan,mazda,rx-4,21.5,3,80,110,2720,13.5 +1978-01-01T00:00:00,Europe,volkswagen,rabbit custom diesel,43.1,4,90,48,1985,21.5 +1978-01-01T00:00:00,USA,ford,fiesta,36.1,4,98,66,1800,14.4 +1978-01-01T00:00:00,Japan,mazda,glc deluxe,32.8,4,78,52,1985,19.4 +1978-01-01T00:00:00,Japan,datsun,b210 gx,39.4,4,85,70,2070,18.6 +1978-01-01T00:00:00,Japan,honda,civic cvcc,36.1,4,91,60,1800,16.4 +1978-01-01T00:00:00,USA,oldsmobile,cutlass salon brougham,19.9,8,260,110,3365,15.5 +1978-01-01T00:00:00,USA,dodge,diplomat,19.4,8,318,140,3735,13.2 +1978-01-01T00:00:00,USA,mercury,monarch ghia,20.2,8,302,139,3570,12.8 +1978-01-01T00:00:00,USA,pontiac,phoenix lj,19.2,6,231,105,3535,19.2 +1978-01-01T00:00:00,USA,chevrolet,malibu,20.5,6,200,95,3155,18.2 +1978-01-01T00:00:00,USA,ford,fairmont (auto),20.2,6,200,85,2965,15.8 +1978-01-01T00:00:00,USA,ford,fairmont (man),25.1,4,140,88,2720,15.4 +1978-01-01T00:00:00,USA,plymouth,volare,20.5,6,225,100,3430,17.2 +1978-01-01T00:00:00,USA,amc,concord,19.4,6,232,90,3210,17.2 +1978-01-01T00:00:00,USA,buick,century special,20.6,6,231,105,3380,15.8 +1978-01-01T00:00:00,USA,mercury,zephyr,20.8,6,200,85,3070,16.7 +1978-01-01T00:00:00,USA,dodge,aspen,18.6,6,225,110,3620,18.7 +1978-01-01T00:00:00,USA,amc,concord d/l,18.1,6,258,120,3410,15.1 +1978-01-01T00:00:00,USA,chevrolet,monte carlo landau,19.2,8,305,145,3425,13.2 +1978-01-01T00:00:00,USA,buick,regal sport coupe (turbo),17.7,6,231,165,3445,13.4 +1978-01-01T00:00:00,USA,ford,futura,18.1,8,302,139,3205,11.2 +1978-01-01T00:00:00,USA,dodge,magnum xe,17.5,8,318,140,4080,13.7 +1978-01-01T00:00:00,USA,chevrolet,chevette,30,4,98,68,2155,16.5 +1978-01-01T00:00:00,Japan,toyota,corona,27.5,4,134,95,2560,14.2 +1978-01-01T00:00:00,Japan,datsun,510,27.2,4,119,97,2300,14.7 +1978-01-01T00:00:00,USA,dodge,omni,30.9,4,105,75,2230,14.5 +1978-01-01T00:00:00,Japan,toyota,celica gt liftback,21.1,4,134,95,2515,14.8 +1978-01-01T00:00:00,USA,plymouth,sapporo,23.2,4,156,105,2745,16.7 +1978-01-01T00:00:00,USA,oldsmobile,starfire sx,23.8,4,151,85,2855,17.6 +1978-01-01T00:00:00,Japan,datsun,200-sx,23.9,4,119,97,2405,14.9 +1978-01-01T00:00:00,Europe,audi,5000,20.3,5,131,103,2830,15.9 +1978-01-01T00:00:00,Europe,volvo,264gl,17,6,163,125,3140,13.6 +1978-01-01T00:00:00,Europe,saab,99gle,21.6,4,121,115,2795,15.7 +1978-01-01T00:00:00,Europe,peugeot,604sl,16.2,6,163,133,3410,15.8 +1978-01-01T00:00:00,Europe,volkswagen,scirocco,31.5,4,89,71,1990,14.9 +1978-01-01T00:00:00,Japan,honda,Accelerationord lx,29.5,4,98,68,2135,16.6 +1979-01-01T00:00:00,USA,pontiac,lemans v6,21.5,6,231,115,3245,15.4 +1979-01-01T00:00:00,USA,mercury,zephyr 6,19.8,6,200,85,2990,18.2 +1979-01-01T00:00:00,USA,ford,fairmont 4,22.3,4,140,88,2890,17.3 +1979-01-01T00:00:00,USA,amc,concord dl 6,20.2,6,232,90,3265,18.2 +1979-01-01T00:00:00,USA,dodge,aspen 6,20.6,6,225,110,3360,16.6 +1979-01-01T00:00:00,USA,chevrolet,caprice classic,17,8,305,130,3840,15.4 +1979-01-01T00:00:00,USA,ford,ltd landau,17.6,8,302,129,3725,13.4 +1979-01-01T00:00:00,USA,mercury,grand marquis,16.5,8,351,138,3955,13.2 +1979-01-01T00:00:00,USA,dodge,st. regis,18.2,8,318,135,3830,15.2 +1979-01-01T00:00:00,USA,buick,estate wagon (sw),16.9,8,350,155,4360,14.9 +1979-01-01T00:00:00,USA,ford,country squire (sw),15.5,8,351,142,4054,14.3 +1979-01-01T00:00:00,USA,chevrolet,malibu classic (sw),19.2,8,267,125,3605,15 +1979-01-01T00:00:00,USA,chrysler,lebaron town @ country (sw),18.5,8,360,150,3940,13 +1979-01-01T00:00:00,Europe,volkswagen,rabbit custom,31.9,4,89,71,1925,14 +1979-01-01T00:00:00,Japan,mazda,glc deluxe,34.1,4,86,65,1975,15.2 +1979-01-01T00:00:00,USA,dodge,colt hatchback custom,35.7,4,98,80,1915,14.4 +1979-01-01T00:00:00,USA,amc,spirit dl,27.4,4,121,80,2670,15 +1979-01-01T00:00:00,Europe,mercedes,benz 300d,25.4,5,183,77,3530,20.1 +1979-01-01T00:00:00,USA,cadillac,eldorado,23,8,350,125,3900,17.4 +1979-01-01T00:00:00,Europe,peugeot,504,27.2,4,141,71,3190,24.8 +1979-01-01T00:00:00,USA,oldsmobile,cutlass salon brougham,23.9,8,260,90,3420,22.2 +1979-01-01T00:00:00,USA,plymouth,horizon,34.2,4,105,70,2200,13.2 +1979-01-01T00:00:00,USA,plymouth,horizon tc3,34.5,4,105,70,2150,14.9 +1979-01-01T00:00:00,Japan,datsun,210,31.8,4,85,65,2020,19.2 +1979-01-01T00:00:00,Europe,fiat,strada custom,37.3,4,91,69,2130,14.7 +1979-01-01T00:00:00,USA,buick,skylark limited,28.4,4,151,90,2670,16 +1979-01-01T00:00:00,USA,chevrolet,citation,28.8,6,173,115,2595,11.3 +1979-01-01T00:00:00,USA,oldsmobile,omega brougham,26.8,6,173,115,2700,12.9 +1979-01-01T00:00:00,USA,pontiac,phoenix,33.5,4,151,90,2556,13.2 +1980-01-01T00:00:00,Europe,volkswagen,rabbit,41.5,4,98,76,2144,14.7 +1980-01-01T00:00:00,Japan,toyota,corolla tercel,38.1,4,89,60,1968,18.8 +1980-01-01T00:00:00,USA,chevrolet,chevette,32.1,4,98,70,2120,15.5 +1980-01-01T00:00:00,Japan,datsun,310,37.2,4,86,65,2019,16.4 +1980-01-01T00:00:00,USA,chevrolet,citation,28,4,151,90,2678,16.5 +1980-01-01T00:00:00,USA,ford,fairmont,26.4,4,140,88,2870,18.1 +1980-01-01T00:00:00,USA,amc,concord,24.3,4,151,90,3003,20.1 +1980-01-01T00:00:00,USA,dodge,aspen,19.1,6,225,90,3381,18.7 +1980-01-01T00:00:00,Europe,audi,4000,34.3,4,97,78,2188,15.8 +1980-01-01T00:00:00,Japan,toyota,corona liftback,29.8,4,134,90,2711,15.5 +1980-01-01T00:00:00,Japan,mazda,626,31.3,4,120,75,2542,17.5 +1980-01-01T00:00:00,Japan,datsun,510 hatchback,37,4,119,92,2434,15 +1980-01-01T00:00:00,Japan,toyota,corolla,32.2,4,108,75,2265,15.2 +1980-01-01T00:00:00,Japan,mazda,glc,46.6,4,86,65,2110,17.9 +1980-01-01T00:00:00,USA,dodge,colt,27.9,4,156,105,2800,14.4 +1980-01-01T00:00:00,Japan,datsun,210,40.8,4,85,65,2110,19.2 +1980-01-01T00:00:00,Europe,volkswagen,rabbit c (diesel),44.3,4,90,48,2085,21.7 +1980-01-01T00:00:00,Europe,volkswagen,dasher (diesel),43.4,4,90,48,2335,23.7 +1980-01-01T00:00:00,Europe,audi,5000s (diesel),36.4,5,121,67,2950,19.9 +1980-01-01T00:00:00,Europe,mercedes-benz,240d,30,4,146,67,3250,21.8 +1980-01-01T00:00:00,Japan,honda,civic 1500 gl,44.6,4,91,67,1850,13.8 +1980-01-01T00:00:00,Europe,renault,lecar deluxe,40.9,4,85,,1835,17.3 +1980-01-01T00:00:00,Japan,subaru,dl,33.8,4,97,67,2145,18 +1980-01-01T00:00:00,Europe,vokswagen,rabbit,29.8,4,89,62,1845,15.3 +1980-01-01T00:00:00,Japan,datsun,280-zx,32.7,6,168,132,2910,11.4 +1980-01-01T00:00:00,Japan,mazda,rx-7 gs,23.7,3,70,100,2420,12.5 +1980-01-01T00:00:00,Europe,triumph,tr7 coupe,35,4,122,88,2500,15.1 +1980-01-01T00:00:00,USA,ford,mustang cobra,23.6,4,140,,2905,14.3 +1980-01-01T00:00:00,Japan,honda,Accelerationord,32.4,4,107,72,2290,17 +1982-01-01T00:00:00,USA,plymouth,reliant,27.2,4,135,84,2490,15.7 +1982-01-01T00:00:00,USA,buick,skylark,26.6,4,151,84,2635,16.4 +1982-01-01T00:00:00,USA,dodge,aries wagon (sw),25.8,4,156,92,2620,14.4 +1982-01-01T00:00:00,USA,chevrolet,citation,23.5,6,173,110,2725,12.6 +1982-01-01T00:00:00,USA,plymouth,reliant,30,4,135,84,2385,12.9 +1982-01-01T00:00:00,Japan,toyota,starlet,39.1,4,79,58,1755,16.9 +1982-01-01T00:00:00,USA,plymouth,champ,39,4,86,64,1875,16.4 +1982-01-01T00:00:00,Japan,honda,civic 1300,35.1,4,81,60,1760,16.1 +1982-01-01T00:00:00,Japan,,subaru,32.3,4,97,67,2065,17.8 +1982-01-01T00:00:00,Japan,datsun,210,37,4,85,65,1975,19.4 +1982-01-01T00:00:00,Japan,toyota,tercel,37.7,4,89,62,2050,17.3 +1982-01-01T00:00:00,Japan,mazda,glc 4,34.1,4,91,68,1985,16 +1982-01-01T00:00:00,USA,plymouth,horizon 4,34.7,4,105,63,2215,14.9 +1982-01-01T00:00:00,USA,ford,escort 4w,34.4,4,98,65,2045,16.2 +1982-01-01T00:00:00,USA,ford,escort 2h,29.9,4,98,65,2380,20.7 +1982-01-01T00:00:00,Europe,volkswagen,jetta,33,4,105,74,2190,14.2 +1982-01-01T00:00:00,Europe,renault,18i,34.5,4,100,,2320,15.8 +1982-01-01T00:00:00,Japan,honda,prelude,33.7,4,107,75,2210,14.4 +1982-01-01T00:00:00,Japan,toyota,corolla,32.4,4,108,75,2350,16.8 +1982-01-01T00:00:00,Japan,datsun,200sx,32.9,4,119,100,2615,14.8 +1982-01-01T00:00:00,Japan,mazda,626,31.6,4,120,74,2635,18.3 +1982-01-01T00:00:00,Europe,peugeot,505s turbo diesel,28.1,4,141,80,3230,20.4 +1982-01-01T00:00:00,Europe,saab,900s,,4,121,110,2800,15.4 +1982-01-01T00:00:00,Europe,volvo,diesel,30.7,6,145,76,3160,19.6 +1982-01-01T00:00:00,Japan,toyota,cressida,25.4,6,168,116,2900,12.6 +1982-01-01T00:00:00,Japan,datsun,810 maxima,24.2,6,146,120,2930,13.8 +1982-01-01T00:00:00,USA,buick,century,22.4,6,231,110,3415,15.8 +1982-01-01T00:00:00,USA,oldsmobile,cutlass ls,26.6,8,350,105,3725,19 +1982-01-01T00:00:00,USA,ford,granada gl,20.2,6,200,88,3060,17.1 +1982-01-01T00:00:00,USA,chrysler,lebaron salon,17.6,6,225,85,3465,16.6 +1982-01-01T00:00:00,USA,chevrolet,cavalier,28,4,112,88,2605,19.6 +1982-01-01T00:00:00,USA,chevrolet,cavalier wagon,27,4,112,88,2640,18.6 +1982-01-01T00:00:00,USA,chevrolet,cavalier 2-door,34,4,112,88,2395,18 +1982-01-01T00:00:00,USA,pontiac,j2000 se hatchback,31,4,112,85,2575,16.2 +1982-01-01T00:00:00,USA,dodge,aries se,29,4,135,84,2525,16 +1982-01-01T00:00:00,USA,pontiac,phoenix,27,4,151,90,2735,18 +1982-01-01T00:00:00,USA,ford,fairmont futura,24,4,140,92,2865,16.4 +1982-01-01T00:00:00,USA,amc,concord dl,23,4,151,,3035,20.5 +1982-01-01T00:00:00,Europe,volkswagen,rabbit l,36,4,105,74,1980,15.3 +1982-01-01T00:00:00,Japan,mazda,glc custom l,37,4,91,68,2025,18.2 +1982-01-01T00:00:00,Japan,mazda,glc custom,31,4,91,68,1970,17.6 +1982-01-01T00:00:00,USA,plymouth,horizon miser,38,4,105,63,2125,14.7 +1982-01-01T00:00:00,USA,mercury,lynx l,36,4,98,70,2125,17.3 +1982-01-01T00:00:00,Japan,nissan,stanza xe,36,4,120,88,2160,14.5 +1982-01-01T00:00:00,Japan,honda,Accelerationord,36,4,107,75,2205,14.5 +1982-01-01T00:00:00,Japan,toyota,corolla,34,4,108,70,2245,16.9 +1982-01-01T00:00:00,Japan,honda,civic,38,4,91,67,1965,15 +1982-01-01T00:00:00,Japan,honda,civic (auto),32,4,91,67,1965,15.7 +1982-01-01T00:00:00,Japan,datsun,310 gx,38,4,91,67,1995,16.2 +1982-01-01T00:00:00,USA,buick,century limited,25,6,181,110,2945,16.4 +1982-01-01T00:00:00,USA,oldsmobile,cutlass ciera (diesel),38,6,262,85,3015,17 +1982-01-01T00:00:00,USA,chrysler,lebaron medallion,26,4,156,92,2585,14.5 +1982-01-01T00:00:00,USA,ford,granada l,22,6,232,112,2835,14.7 +1982-01-01T00:00:00,Japan,toyota,celica gt,32,4,144,96,2665,13.9 +1982-01-01T00:00:00,USA,dodge,charger 2.2,36,4,135,84,2370,13 +1982-01-01T00:00:00,USA,chevrolet,camaro,27,4,151,90,2950,17.3 +1982-01-01T00:00:00,USA,ford,mustang gl,27,4,140,86,2790,15.6 +1982-01-01T00:00:00,Europe,volkswagen,pickup,44,4,97,52,2130,24.6 +1982-01-01T00:00:00,USA,dodge,rampage,32,4,135,84,2295,11.6 +1982-01-01T00:00:00,USA,ford,ranger,28,4,120,79,2625,18.6 +1982-01-01T00:00:00,USA,chevrolet,s-10,31,4,119,82,2720,19.4 diff --git a/public/app/plugins/datasource/grafana-testdata-datasource/components/CSVFileEditor.tsx b/public/app/plugins/datasource/grafana-testdata-datasource/components/CSVFileEditor.tsx index a3dbc39d7cc..0ae69bd7b0c 100644 --- a/public/app/plugins/datasource/grafana-testdata-datasource/components/CSVFileEditor.tsx +++ b/public/app/plugins/datasource/grafana-testdata-datasource/components/CSVFileEditor.tsx @@ -18,6 +18,7 @@ export const CSVFileEditor = ({ onChange, query }: EditorProps) => { 'ohlc_dogecoin.csv', 'weight_height.csv', 'browser_marketshare.csv', + 'automobiles.csv', ].map((name) => ({ label: name, value: name })); return ( diff --git a/public/app/plugins/panel/xychart/XYChartPanel2.tsx b/public/app/plugins/panel/xychart/XYChartPanel2.tsx index df9cf4b4ccc..81ba3d162c2 100644 --- a/public/app/plugins/panel/xychart/XYChartPanel2.tsx +++ b/public/app/plugins/panel/xychart/XYChartPanel2.tsx @@ -11,6 +11,7 @@ import { ReducerID, getDisplayProcessor, } from '@grafana/data'; +import { alpha } from '@grafana/data/src/themes/colorManipulator'; import { config } from '@grafana/runtime'; import { Portal, @@ -174,6 +175,8 @@ export const XYChartPanel2 = (props: Props) => { item.label = props.options.series?.[si]?.name ?? `Series ${si + 1}`; } + item.color = alpha(s.lineColor(frame) as string, 1); + items.push(item); } } diff --git a/public/app/plugins/panel/xychart/scatter.ts b/public/app/plugins/panel/xychart/scatter.ts index a4d6b5e9043..d136ee28c6b 100644 --- a/public/app/plugins/panel/xychart/scatter.ts +++ b/public/app/plugins/panel/xychart/scatter.ts @@ -393,6 +393,9 @@ const prepConfig = ( } if (showPoints) { + // if pointHints.fixed? don't recalc size + // if pointColor has 0 opacity, draw as single path (assuming all strokes are alpha 1) + u.ctx.moveTo(cx + size / 2, cy); u.ctx.beginPath(); u.ctx.arc(cx, cy, size / 2, 0, deg360); @@ -693,7 +696,7 @@ const prepConfig = ( pathBuilder: drawBubbles, // drawBubbles({disp: {size: {values: () => }}}) theme, scaleKey: '', // facets' scales used (above) - lineColor: lineColor as string, + lineColor: alpha('' + lineColor, 1), fillColor: alpha(pointColor, 0.5), show: !customConfig.hideFrom?.viz, });