Title Events
Description: How to attach events on Title
The following Mouse events can be attached with Title in Cosfire Chart


mousedown
                                    
 chart.on('mousedown', 'title', function (title, index, sender, e) {
   console.log('mousedown fired', 'Title Text=' title.text, 'Title index=', index);
 });
                                    
                                
mouseup
                                    
 chart.on('mouseup', 'title', function (title, index, sender, e) {
   console.log('mouseup fired', 'Title Text=' title.text, 'Title index=', index);
 });
                                    
                                
mousein
                                    
 chart.on('mousein', 'title', function (title, index, sender, e) {
   console.log('mousein fired', 'Title Text=' title.text, 'Title index=', index);
 });
                                    
                                
mouseout
                                    
 chart.on('mouseout', 'title', function (title, index, sender, e) {
   console.log('mouseout fired', 'Title Text=' title.text, 'Title index=', index);
 });
                                    
                                
mousemove
                                    
 chart.on('mousemove', 'title', function (title, index, sender, e) {
   console.log('mousemove fired', 'Title Text=' title.text, 'Title index=', index);
 });