mouseDown

This event fires when the user clicks a mouse button.

Default: null

Type: Function

Parameters:

e: A jQuery.Event object.

data: An object that contains all the series information for the mousedown bar.

data.bar: The Raphael object of the bar.

data.data: The data of the series of the bar.

data.hoverStyle: The hover style of the series of the bar.

data.index: The index of the bar.

data.label: The label of the series of the bar.

data.legendEntry: The legend entry of the series of the bar.

data.style: The style of the series of the bar.

data.type: "bar"

data.x: The x value of the bar.

data.y: The y value of the bar.

Code Example:

// Supply a function as an option.

$("#barchart").wijbarchart({mouseDown: function(e, data) { } });

// Bind to the event by type: wijbarchartmousedown

$("#barchart").bind("wijbarchartmousedown", function(e, data) {} );


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.