Skip to content

Commit

Permalink
Worked on line chart, treemap with the new antlr code
Browse files Browse the repository at this point in the history
Signed-off-by: ruchika-narang <[email protected]>
  • Loading branch information
ruchika-narang committed Sep 13, 2022
1 parent 4c38cda commit b651ce3
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,26 +133,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"barwidth": 0.97,
Expand Down Expand Up @@ -617,26 +598,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"barwidth": 0.97,
Expand Down Expand Up @@ -1124,26 +1086,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"barwidth": 0.97,
Expand Down Expand Up @@ -1567,12 +1510,8 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"defaultAxes": Object {
"xaxis": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"yaxis": Array [
Expand Down Expand Up @@ -1698,34 +1637,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -2104,12 +2016,8 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"defaultAxes": Object {
"xaxis": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"yaxis": Array [
Expand Down Expand Up @@ -2235,34 +2143,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -2695,12 +2576,8 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"defaultAxes": Object {
"xaxis": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"yaxis": Array [
Expand Down Expand Up @@ -2826,34 +2703,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"aggregation": "",
"custom_label": "",
"label": "",
"name": "",
"side": "right",
"type": "",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -3440,26 +3290,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -3729,26 +3560,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -4041,26 +3853,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"size": 4,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "Carrier",
"name": "Carrier",
"type": "keyword",
},
],
"metrics": Array [
Object {
"label": "avg(FlightDelayMin)",
"name": "avg(FlightDelayMin)",
"type": "double",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -4358,26 +4151,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"size": 0,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "span(timestamp,1h)",
"name": "span(timestamp,1h)",
"type": "timestamp",
},
],
"metrics": Array [
Object {
"label": "count('ip')",
"name": "count('ip')",
"type": "integer",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -4593,26 +4367,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"size": 0,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "span(timestamp,1h)",
"name": "span(timestamp,1h)",
"type": "timestamp",
},
],
"metrics": Array [
Object {
"label": "count('ip')",
"name": "count('ip')",
"type": "integer",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down Expand Up @@ -4851,26 +4606,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"size": 0,
"status": 200,
},
"userConfigs": Object {
"dataConfig": Object {
"valueOptions": Object {
"dimensions": Array [
Object {
"label": "span(timestamp,1h)",
"name": "span(timestamp,1h)",
"type": "timestamp",
},
],
"metrics": Array [
Object {
"label": "count('ip')",
"name": "count('ip')",
"type": "integer",
},
],
},
},
},
"userConfigs": Object {},
},
"vis": Object {
"category": "Visualizations",
Expand Down
Loading

0 comments on commit b651ce3

Please sign in to comment.