Wijmo UI for the Web
beforePaint Event
wijmo.chart.wijbarchart Namespace > options type : beforePaint Event
Standard jQuery.Event object.

This event fires before the canvas is painted. You can cancel the event using "return false."

Type: Function

Default: null

Syntax
$(function () {
    // Set beforePaint event handler function
    $(".selector").wijbarchart({
        beforePaint : function (e) {
     
        }
    });
});
beforePaint = function ( 
   e : jQuery.Event
) { };

Parameters

e
Standard jQuery.Event object.
Example
This code, which uses the function as an option, cancels the event.
$("#barchart").wijbarchart({
    beforePaint: function(e) {
        return false;
    }
});
This example shows how to bind to the event by type.
$("#barchart").bind("wijbarchartbeforepaint", function(e) {} );
See Also

Reference

options type
wijbarchart Method