evui 3.4.151 → 3.4.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,6 +248,9 @@ const DEFAULT_OPTIONS = {
248
248
  },
249
249
  seriesReverse: false,
250
250
  coordinateDedupe: true,
251
+ eventBehavior: {
252
+ legendClick: 'update',
253
+ },
251
254
  };
252
255
 
253
256
  const DEFAULT_DATA = {
@@ -402,6 +405,10 @@ export const useModel = (injectGroupSelectedLabel, injectGroupHoveredLabel) => {
402
405
  injectGroupHoveredLabel.value.label = null;
403
406
  }
404
407
  },
408
+ 'click-legend': async (e) => {
409
+ await nextTick();
410
+ emit('click-legend', e);
411
+ },
405
412
  };
406
413
 
407
414
  return {