Commit Graph

13 Commits (be0799cfbe94d3953b4e900dead357fa4afb4a8b)

Author SHA1 Message Date
olau@iola.dk 4e02781692 Refactor replot behaviour so Flot tries to reuse the existing canvas,
adding shutdown() methods to the plot (based on patch by Ryley
Breiddal, issue 269). This prevents a memory leak in Chrome and
hopefully makes replotting faster for those who are using $.plot
instead of .setData()/.draw(). Also update jQuery to 1.5.1 to prevent
IE leaks fixed some time ago in jQuery.


git-svn-id: https://flot.googlecode.com/svn/trunk@317 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 2ab5ce87f5 Remove usage of getUsedAxes(), after the refactor of setupGrid, it's
no longer needed, and possibly misleading - hopefully, nobody else has
used it yet; also refactor getAxes() and remove annoying
backwards-compatibility stuff in it, it probably didn't help anything
and prevents one from using getAxes() in the obvious way


git-svn-id: https://flot.googlecode.com/svn/trunk@310 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk ddcfbb14b2 Fix bug in restoring cursor in navigate plugin (reported by Matteo
Gattanini, issue 395)


git-svn-id: https://flot.googlecode.com/svn/trunk@306 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 4715e8265e Support for providing the drag cursor for the navigate plugin as an option (based on patch by Kelly T. Moore)
git-svn-id: https://flot.googlecode.com/svn/trunk@301 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 873c8e185d Bump version number on navigate plugin
git-svn-id: https://flot.googlecode.com/svn/trunk@298 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 69a23e4d85 Support restricting navigate plugin to not pan/zoom an axis (based on patch by kkaefer)
git-svn-id: https://flot.googlecode.com/svn/trunk@297 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk bad53abc5a Revamped internals to add support for extra axes, not just dual (sponsored by Flight Data Services)
git-svn-id: https://flot.googlecode.com/svn/trunk@251 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 1bb11ad9ce Added support for redrawing the plot while panning for the navigate
plugin, idea from lasthemy (issue 235).


git-svn-id: https://flot.googlecode.com/svn/trunk@232 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk d9ba523527 Return false in the mousewheel handler
git-svn-id: https://flot.googlecode.com/svn/trunk@201 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk af965c7cba More robust argument parsing
git-svn-id: https://flot.googlecode.com/svn/trunk@193 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 7331dc2f53 Base zoom out on current mouse position rather than a one-level undo
git-svn-id: https://flot.googlecode.com/svn/trunk@192 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f60dc6394e Added scrollwheel support, currently with inline jquery.scrollwheel.js plugin
git-svn-id: https://flot.googlecode.com/svn/trunk@190 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 0c5bb75fcd Added navigate plugin for panning and zooming
git-svn-id: https://flot.googlecode.com/svn/trunk@186 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago