Commit Graph

320 Commits (2d2ca32a5ca6d34004a0a5f42ff54cce15b58f36)
 

Author SHA1 Message Date
Ole Laursen 2d2ca32a5c Fix problem with null values and pie plugin (patch by gcruxifix) 15 years ago
Ole Laursen 3c1e90bed9 Change Makefile to use yui-compressor script directly, it appears to
be widely available in Linux distributions these days
15 years ago
Ole Laursen aea8e9fb63 Bump version number for the 0.7 release 15 years ago
olau@iola.dk 284dfa13e4 Update colorhelpers plugin to avoid dying when trying to parse an
invalid string (reported by cadavor, issue 483)


git-svn-id: https://flot.googlecode.com/svn/trunk@323 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 8856dcc992 Fix mimetype of realtime example
git-svn-id: https://flot.googlecode.com/svn/trunk@322 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 7e33c7ba31 Fix color helpers plugin to return black rather than dieing when
somebody tries to parse "" or another unknown color


git-svn-id: https://flot.googlecode.com/svn/trunk@321 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk a095971b6d Add example of how to update a chart real-time (using the random walk
data generation idea from Doug Suerich's test case on issue 387)


git-svn-id: https://flot.googlecode.com/svn/trunk@320 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 477b6147b8 Fix some validator warnings (suggested by Colin Law)
git-svn-id: https://flot.googlecode.com/svn/trunk@319 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 3ba7f28e31 Revamp resize plugin to reuse the plot object and disconnect its
resize event properly


git-svn-id: https://flot.googlecode.com/svn/trunk@318 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
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 e47b43159b Fix bug in infinity handling
git-svn-id: https://flot.googlecode.com/svn/trunk@316 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk fbe4273b6e New options.grid.minBorderMargin for adjusting the minimum margin provided around the border (based on patch by corani, issue 188)
git-svn-id: https://flot.googlecode.com/svn/trunk@315 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 23316cfa63 Fix problem with unaligned ticks and hover/click events caused by
padding on the placeholder by hardcoding the placeholder padding to 0
(reported by adityadineshsaxena, Matt Sommer, Daniel Atos and some
other people, issue 301)


git-svn-id: https://flot.googlecode.com/svn/trunk@314 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk ccfb0b496b Add note about axis visibility under API changes, problem reported by
Dragos Tihauan (issue 471)


git-svn-id: https://flot.googlecode.com/svn/trunk@313 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 9dcd530bb2 Reformulate the paragraph about the axis show option slightly
git-svn-id: https://flot.googlecode.com/svn/trunk@312 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk cd91f432d1 Remove getAxis function, nothing seems to use it and it is of dubious
quality anyway after the setupGrid refactoring


git-svn-id: https://flot.googlecode.com/svn/trunk@311 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 006708d982 Modify interacting with axis example to use getAxes instead of concat
trick to avoid null axes and use axis.show guard


git-svn-id: https://flot.googlecode.com/svn/trunk@309 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 470456c598 Added $.plot.version with the Flot version as a string and made sure
the version comment at the top of jquery.flot.js is included in the
minified output (suggested by arockinit)


git-svn-id: https://flot.googlecode.com/svn/trunk@308 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 1e050212c1 Fix bug in picking items when transform/inverseTransform is in use
(reported by Ofri Raviv, and patches and analysis by Jan and Tom
Paton, issue 334 and 467)


git-svn-id: https://flot.googlecode.com/svn/trunk@307 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 26cf412e78 Add reverse axis example to API
git-svn-id: https://flot.googlecode.com/svn/trunk@305 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk a86bad27dd Rename computeAxisBox... to allocateAxisBox
git-svn-id: https://flot.googlecode.com/svn/trunk@304 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 6e99181b33 Simplify transformation helper function slightly and fix issue 263
that prevented inverse transforms from working correctly.


git-svn-id: https://flot.googlecode.com/svn/trunk@303 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 47821c713b Refactor the axis dimension calculations slightly to avoid the whole
implicit assumptions madness and support turning axes on and off
(suggested by Time Tuominen in issue 466), this adds axis.show and
axis.reserveSpace - still need to figure out what to do about the
public axis-snarfing API and get it documented.


git-svn-id: https://flot.googlecode.com/svn/trunk@302 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 dbc1270b06 Mention that you can get to the overlay by setting up a drawOverlay hook
git-svn-id: https://flot.googlecode.com/svn/trunk@300 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk d769a5b553 Add note about min/max calculations being based on entire dataset
git-svn-id: https://flot.googlecode.com/svn/trunk@299 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 4c0a2a4977 Fix blunder in recent backwards compat fix, patch by adrianyee
git-svn-id: https://flot.googlecode.com/svn/trunk@296 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 2bb9c579e5 Fix bug in backwards-compatibility code for dual axes (reported by mystic414)
git-svn-id: https://flot.googlecode.com/svn/trunk@295 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 70e36134d6 Add support for Infinity/-Infinity by hacking it into +/- Number.MAX_VALUE (closes issue 444)
git-svn-id: https://flot.googlecode.com/svn/trunk@294 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk d8e20bf13b Skip loading excanvas in IE 9 in examples (thanks to Ryley Breiddal), adapt NEWS and README to mention this
git-svn-id: https://flot.googlecode.com/svn/trunk@293 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 09c38cdbdd Remove accidental Javascript includes from index page
git-svn-id: https://flot.googlecode.com/svn/trunk@292 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk c97bf1eb71 Use = null rather that delete to clear out excanvas context (problem
reported by ryleyb)


git-svn-id: https://flot.googlecode.com/svn/trunk@291 1e0a6537-2640-0410-bfb7-f154510ff394
15 years ago
olau@iola.dk 3dd4b4aab7 Fixes for tickless axes plus change autoscaleMargin to avoid snapping
to ticks if it's 0, based on patches by Ara Anjargolian


git-svn-id: https://flot.googlecode.com/svn/trunk@290 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk a493cc4997 Remove excanvas init hack, it's not needed with the bundled version of excanvas
git-svn-id: https://flot.googlecode.com/svn/trunk@289 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 6e3c674e62 Little stylistic fix in API.txt
git-svn-id: https://flot.googlecode.com/svn/trunk@288 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk ff812d0430 Fix hover/click bug, obj might be null
git-svn-id: https://flot.googlecode.com/svn/trunk@287 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 147f940e5b Fix problem with floating point comparison (report and patch by jparish9001)
git-svn-id: https://flot.googlecode.com/svn/trunk@286 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 8e82c4cef1 Fix bug with backwards compatibility for shadowSize = 0 (report and suggested fix by aspinak)
git-svn-id: https://flot.googlecode.com/svn/trunk@285 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk cc031e0a86 Fix possible excanvas leak (report and suggested fix by tom9729)
git-svn-id: https://flot.googlecode.com/svn/trunk@284 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk a1f56d5bd9 Fix bug with using aboveData with a background (reported by amitayd)
git-svn-id: https://flot.googlecode.com/svn/trunk@283 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk eb03ceca9f Reworded comment about defaults
git-svn-id: https://flot.googlecode.com/svn/trunk@282 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk bcf9df2fff Listen for mouseleave events and fire a plothover event with empty item when it occurs
git-svn-id: https://flot.googlecode.com/svn/trunk@281 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 53ba01acca Fix bug with highlight that caused it to update too often
git-svn-id: https://flot.googlecode.com/svn/trunk@280 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 4363320767 Fix bug with unhighlighting slices (fix by Johan Sall Larson)
git-svn-id: https://flot.googlecode.com/svn/trunk@279 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk df745474c3 Add compatibility with Flashcanvas (issue 368) and remove dubious octx.stroke() call
git-svn-id: https://flot.googlecode.com/svn/trunk@278 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk f20ab62742 Add a note about getOptions() being useful for changing the selection color on-the-fly (from issue 370 reported by Mitja Koren)
git-svn-id: https://flot.googlecode.com/svn/trunk@277 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago