File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
public/app/plugins/panel/barchart Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ describe('BarChart utils', () => {
174
174
} ) ;
175
175
const result = prepareBarChartDisplayValues ( [ df ] , createTheme ( ) , { stacking : StackingMode . None } as Options ) ;
176
176
const warning = assertIsDefined ( 'warn' in result ? result : null ) ;
177
- expect ( warning . warn ) . toEqual ( 'Bar charts requires a string or time field ' ) ;
177
+ expect ( warning . warn ) . toEqual ( 'No Data ' ) ;
178
178
expect ( warning ) . not . toHaveProperty ( 'viz' ) ;
179
179
} ) ;
180
180
Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ export function prepareBarChartDisplayValues(
457
457
458
458
if ( ! firstField ) {
459
459
return {
460
- warn : 'Bar charts requires a string or time field ' ,
460
+ warn : 'No Data ' ,
461
461
} ;
462
462
}
463
463
You can’t perform that action at this time.
0 commit comments