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.