Commit Graph

133 Commits (b2fedcd828caec435fa5707802d6062a183e90c8)

Author SHA1 Message Date
Ole Laursen 89bbfef517 Switch to using canvas text to draw the axis labels, fix a problem with axis box calculations 15 years ago
Ole Laursen 36df8f08c0 Fix problem with threshold plugin and bars (based on patch by kaarlenkaski, issue 348) 15 years ago
Ole Laursen 2d2ca32a5c Fix problem with null values and pie plugin (patch by gcruxifix) 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 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 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 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 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 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 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 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 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 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 48adc6aaf1 Use closure trick to make inline colorhelpers plugin respect jQuery.noConflict(true), renaming the global jQuery object (reported by Nick Stielau)
git-svn-id: https://flot.googlecode.com/svn/trunk@275 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk fe4bef6fb1 Fix bug with tooltip in interacting.html, this makes the tooltip much smoother (fix by bdkahn)
git-svn-id: https://flot.googlecode.com/svn/trunk@274 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk a7747bef23 Fix JSON to be valid and update news
git-svn-id: https://flot.googlecode.com/svn/trunk@273 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 959ebb9185 Add attribution to Banko Adam too for reporting the crosshair bug
git-svn-id: https://flot.googlecode.com/svn/trunk@272 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 414e17234b Add resize plugin for automatically redrawing when placeholders are resized
git-svn-id: https://flot.googlecode.com/svn/trunk@268 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 8031f5fdf3 Support for customizing the point type through a callback when plotting points and new symbol plugin with some predefined point types (sponsored by Utility Data Corporation)
git-svn-id: https://flot.googlecode.com/svn/trunk@263 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk f192ea9cb8 Fix bug with points plotting using line width from lines rather than points
git-svn-id: https://flot.googlecode.com/svn/trunk@262 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 8155391044 Some cleanup in tick generation code, added support for aligning axes
with alignTicksWithAxis


git-svn-id: https://flot.googlecode.com/svn/trunk@258 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 947c166385 Support for coloring axes, and automatic tick color selection
git-svn-id: https://flot.googlecode.com/svn/trunk@257 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk d31317977e Mention that backwards-compatibility hooks are in place for the axis changes
git-svn-id: https://flot.googlecode.com/svn/trunk@256 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk f8211fd5a3 Add some missing things to NEWS
git-svn-id: https://flot.googlecode.com/svn/trunk@253 1e0a6537-2640-0410-bfb7-f154510ff394
16 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 e74c4f694b Fix problem with crosshair not respecting locking on mouseout (fix by Lau Bech Lauritzen).
git-svn-id: https://flot.googlecode.com/svn/trunk@247 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk e131b77618 Check the selection passed into setSelection in the selection plugin, to guard against errors when synchronizing plots (fix by Lau Bech Lauritzen).
git-svn-id: https://flot.googlecode.com/svn/trunk@246 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 479fa27850 Fixed problem with turning off bar outline (issue 253, fix by Jordi Castells)
git-svn-id: https://flot.googlecode.com/svn/trunk@245 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk c61c120a78 Added drawSeries hook
git-svn-id: https://flot.googlecode.com/svn/trunk@242 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk ab3b68acd9 More robust handling of axis from data passed in from getData
git-svn-id: https://flot.googlecode.com/svn/trunk@241 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk e6cde982f8 Use s.datapoints instead of s.data in highlight(s, index) to lookup point
git-svn-id: https://flot.googlecode.com/svn/trunk@239 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 120a8d0b4f Support zero left-padding month/day in timestamps
git-svn-id: https://flot.googlecode.com/svn/trunk@236 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 00232cb0d2 Avoid using $.browser.msie
git-svn-id: https://flot.googlecode.com/svn/trunk@233 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 569685fb20 Added support for stacking horizontal bar charts to the stacking plugin
git-svn-id: https://flot.googlecode.com/svn/trunk@230 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk c3a34cd6e9 Support for specifying a bottom for each point for line charts when
filling them, this means that an arbitrary bottom can be used
instead of just the x axis (based on patches patiently provided by
Roman V. Prikhodchenko).

New fillbetween plugin that can compute a bottom for a series from
another series, useful for filling areas between lines (see new
example percentiles.html for a use case).

More predictable handling of gaps for the stacking plugin, now all
undefined ranges are skipped.

Fixed problem with plugins adding options to the series objects.

Fixed a problem introduced in 0.6 with specifying a gradient with {
brightness: x, opacity: y }.


git-svn-id: https://flot.googlecode.com/svn/trunk@229 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 088d6ae20c Fixed problem with ticks and the border (based on patch from
ultimatehustler69, issue 236)


git-svn-id: https://flot.googlecode.com/svn/trunk@227 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 356a27b660 Fixed problem with findNearbyItem and bars on top of each other (reported by ragingchikn, issue 242)
git-svn-id: https://flot.googlecode.com/svn/trunk@226 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk d54a40c2df Move selection support to a plugin (based on patch from andershol),
move color code to separate jQuery plugin inlined in the Flot code
(and hosted here for the time being), fixup some various other little
things in preparation for the 0.6 release


git-svn-id: https://flot.googlecode.com/svn/trunk@220 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago