This event fires before the series changes and can be cancelled. Use "return false;" to cancel the event.
Type: Function.
Default: null.
Parameters:
e: A jQuery.Event object.
data: An object that contians old and new series values.
data.oldSeriesList: old series list before change.
data.newSeriesList: new series list that will replace old one.
Code example:
// Supply a function as an option.
$("#scatterchart").wijscatterchart({beforepaint: function(e) { } });
OR
// Bind to the event by type: wijbarchartbeforepaint
$("#scatterchart").bind("wijscatterchartbeforepaint", function(e) {} );