faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Add custom panning cursor option to jquery.flot.navigate.js #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The existing pan cursor when panning using jquery.flot.navigate.js is the 
"move" cursor.  This can be confusing, especially if your graph is set up to 
pan only on the x-axis.  I had a request to have a "hand" (pointer) cursor 
instead.  

This patch allows you to customize the cursor when panning. If dragCursor is 
not specified it falls back to 'move'. You can specify any cursor as used in a 
CSS cursor: style. 

To use this patch, you need to define the options.pan.dragCursor property, as 
in this example...

var options = {
.
.
.
  pan: {
     interactive: true,
     dragCursor: "pointer"
  }
.
.
.
}

Original issue reported on code.google.com by kelly.t....@gmail.com on 24 Aug 2010 at 11:22

GoogleCodeExporter commented 9 years ago
forgot to attach the patch.  Please see issue 404 for the attachment.  403 can 
be deleted.

Original comment by kelly.t....@gmail.com on 24 Aug 2010 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by olau%iol...@gtempaccount.com on 11 Mar 2011 at 12:29

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 11:29