Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Fixed Vertical & Horizontal Bar visualization issues #1156

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Render stats chart verfiy functionality for Tooltip text', () => {
cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(2).should('have.text', 'All');
cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(3).should('have.text', 'Dimension')
.click();
cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(4).should('have.text', 'Metrics')
cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(4).should('have.text', 'Series')
.click();
});
});
Expand Down
14 changes: 0 additions & 14 deletions dashboards-observability/common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ export enum VIS_CHART_TYPES {
Pie = 'pie',
HeatMap = 'heatmap',
Text = 'text',
Gauge = 'gauge',
Histogram = 'histogram',
TreeMap = 'tree_map',
Scatter = 'scatter',
LogsView = 'logs_view',
Metrics = 'metrics',
TableView = 'data_table',
}

export const NUMERICAL_FIELDS = ['short', 'integer', 'long', 'float', 'double'];
Expand All @@ -96,13 +89,6 @@ export const ENABLED_VIS_TYPES = [
VIS_CHART_TYPES.Pie,
VIS_CHART_TYPES.HeatMap,
VIS_CHART_TYPES.Text,
VIS_CHART_TYPES.TreeMap,
VIS_CHART_TYPES.Gauge,
VIS_CHART_TYPES.Histogram,
VIS_CHART_TYPES.Scatter,
VIS_CHART_TYPES.LogsView,
VIS_CHART_TYPES.Metrics,
VIS_CHART_TYPES.TableView,
];

// Live tail constants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -647,7 +647,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -1102,7 +1102,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -1699,7 +1699,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -2205,7 +2205,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -2725,7 +2725,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -3252,7 +3252,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -3700,7 +3700,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -4155,7 +4155,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -4634,7 +4634,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -5028,7 +5028,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down Expand Up @@ -5429,7 +5429,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
},
Object {
"id": "y",
"name": "Metrics",
"name": "Series",
},
],
},
Expand Down
Loading