BarChart: fix stale bar values and x axis labels (#39188)

This commit is contained in:
Leon Sorokin
2021-09-14 12:16:43 -05:00
committed by GitHub
parent 063160aae2
commit df6b6e7a98
6 changed files with 22 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ describe('BarChart utils', () => {
text: {
valueSize: 10,
},
rawValue: (seriesIdx: number, valueIdx: number) => frame.fields[seriesIdx].values.get(valueIdx),
};
it.each([VizOrientation.Auto, VizOrientation.Horizontal, VizOrientation.Vertical])('orientation', (v) => {