Skip to content

Commit

Permalink
Merge pull request #1 from alevicki/master
Browse files Browse the repository at this point in the history
Allow configuration of cursor outside of selected range
  • Loading branch information
tgrochowicz committed Aug 11, 2014
2 parents 5d75e35 + 64969c1 commit fadc738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/jquery.plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"lineFillImage": false, // URL for chart fill image, overrides lineFillColor
"rangeColor": "#E5E5E5", // color of range selection
"rangeOpacity": 0.5, // opacity of range in range selection
"outsideRangeCursor": "default", // cursor to use hovering outside of range selection
"handleColor": "#868695", // color of range handles
"handleImage": null, // image to display for range handles (URI) (used for both handles if present)
// accepts a single image url as a string, or { left: <url>, right: <url>} for different images
Expand Down Expand Up @@ -1242,7 +1243,7 @@
// range is not resizable or movable
self.range.status.resizable = false;
self.range.status.movable = false;
self.$rangeCanvas.css({cursor: "default"});
self.$rangeCanvas.css({cursor: self.config.style.outsideRangeCursor});

}
}
Expand Down

0 comments on commit fadc738

Please sign in to comment.