We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60233a commit 538f96aCopy full SHA for 538f96a
public/app/plugins/panel/barchart/utils.test.ts
@@ -174,7 +174,7 @@ describe('BarChart utils', () => {
174
});
175
const result = prepareBarChartDisplayValues([df], createTheme(), { stacking: StackingMode.None } as Options);
176
const warning = assertIsDefined('warn' in result ? result : null);
177
- expect(warning.warn).toEqual('Bar charts requires a string or time field');
+ expect(warning.warn).toEqual('No Data');
178
expect(warning).not.toHaveProperty('viz');
179
180
public/app/plugins/panel/barchart/utils.ts
@@ -457,7 +457,7 @@ export function prepareBarChartDisplayValues(
457
458
if (!firstField) {
459
return {
460
- warn: 'Bar charts requires a string or time field',
+ warn: 'No Data',
461
};
462
}
463
0 commit comments