$(function () { // Set beforePaint event handler function $(".selector").wijbarchart({ beforePaint : function (e) { } }); });
beforePaint = function ( e : jQuery.Event ) { };
Parameters
- e
- Standard jQuery.Event object.
This event fires before the canvas is painted. You can cancel the event using "return false."
Type: Function
Default: null
$(function () { // Set beforePaint event handler function $(".selector").wijbarchart({ beforePaint : function (e) { } }); });
beforePaint = function ( e : jQuery.Event ) { };
$("#barchart").wijbarchart({ beforePaint: function(e) { return false; } });
$("#barchart").bind("wijbarchartbeforepaint", function(e) {} );