Bug Fix: AreaChart: filter method signature has been changed to support callbacks and filtering multiple times.
Bug Fix: AreaChart: filter method signature has been changed to support
callbacks and filtering multiple times.

The AreaChart.filter signature used to be:

areaChart.filter('name of slice', 'name of slice2');

now the signature has been changed to:

areaChart.filter(['name of slice', 'name of slice2'], {
  onComplete: function() {
    alert('complete!');
  }
});

you can just pass a string instead of an array if you're filtering to
one slice.

areaChart.filter('name of slice', {
  onComplete: function() { ... }
});

NOTE: the callback is optional.

You can call filter multiple times and should behave as expected.

shzy2012/jit,mcanthony/jit,shelsonjava/jit,philogb/jit,printedheart/jit,shzy2012/jit,tim777z/jit,mcanthony/jit,shelsonjava/jit,shelsonjava/jit,printedheart/jit,pingjiang/jit,tim777z/jit,pingjiang/jit,tim777z/jit,pingjiang/jit,mcanthony/jit,printedheart/jit,philogb/jit,shzy2012/jit