//Set up tooltip events on the chart
if (this.options.showTooltips) {
- helpers.bindEvents(this, this.options.tooltipEvents, this.onHover);
+ helpers.bindEvents(this, this.options.events, this.onHover);
}
// Create new slice for each piece of data
//Set up tooltip events on the chart
if (this.options.showTooltips){
- helpers.bindEvents(this, this.options.tooltipEvents, function(evt){
+ helpers.bindEvents(this, this.options.events, function(evt){
var activeSegments = (evt.type !== 'mouseout') ? this.getSegmentsAtEvent(evt) : [];
helpers.each(this.segments,function(segment){
segment.restore(["fillColor"]);
//Set up tooltip events on the chart
if (this.options.showTooltips){
- helpers.bindEvents(this, this.options.tooltipEvents, function(evt){
+ helpers.bindEvents(this, this.options.events, function(evt){
var activePointsCollection = (evt.type !== 'mouseout') ? this.getPointsAtEvent(evt) : [];
this.eachPoints(function(point){
});
// Events
- helpers.bindEvents(this, this.options.tooltipEvents, this.events);
+ helpers.bindEvents(this, this.options.events, this.events);
// Build Scale
this.buildScale();