Commit Graph

100 Commits (ca050b26c23672c6a1ca34f2dfc49557f9e6ea6c)

Author SHA1 Message Date
Mark Cote 22ac76c023 Updated docs. Removed %u specifier. 14 years ago
Mark Côté 854292986d Moved time-series functionality into a separate plug-in and incorporated
time zones.
14 years ago
David Schnur e7634c64b8 Merge pull request #5 from smashedpumpkin/fix-issue-520
Added a 'right' option for bar alignment.
14 years ago
David Schnur 3986cf760f Fixed a typo in the API documentation 14 years ago
David Schnur 07598593e1 Added a grid.margin option 14 years ago
David Schnur 4ee1e04e19 Added processOffset and drawBackground hooks 14 years ago
Ole Laursen 93c7c941f4 New categories plugin with support for plotting categories/textual
data directly; also tick generators now get the whole axis rather than
just min/max
15 years ago
Ole Laursen f6cebd3f13 Update excanvas and remove previous eventholder work-around to fix hover/click bug in IE 8 (test case by Ara Anjargolian); add support for setting the redraw overlay period and set it to 60 frames/s 15 years ago
Michael Mayer 40d886f9c9 Implemented option to right-align a bar and updated API docs 15 years ago
Ole Laursen 89bbfef517 Switch to using canvas text to draw the axis labels, fix a problem with axis box calculations 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 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 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 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 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 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 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 d2b0d36e3a Add a note about getOptions() being useful for changing options
on-the-fly (hopefully adressing issue 370 by Mitja Koren)


git-svn-id: https://flot.googlecode.com/svn/trunk@276 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 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 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 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 d9aba27f62 Tweaked new documentation about zero-padding a bit
git-svn-id: https://flot.googlecode.com/svn/trunk@237 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 e448280eb8 Made it clearer that eventHolder is not the one that receives custom
Flot events


git-svn-id: https://flot.googlecode.com/svn/trunk@235 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk 815f80e7b1 Small documentation fixes
git-svn-id: https://flot.googlecode.com/svn/trunk@231 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 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
olau@iola.dk 563349c9c8 Add example of using gradients with bars
git-svn-id: https://flot.googlecode.com/svn/trunk@216 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 9396ceb4bc Added a hooks option to enable scripts to define hooks before doing a plot
git-svn-id: https://flot.googlecode.com/svn/trunk@209 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 736c098eea Reformulated the hooks example which was silly
git-svn-id: https://flot.googlecode.com/svn/trunk@208 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 0c54df7f54 Added support for 12 hour timestamps, patch by Forrest Aldridge
git-svn-id: https://flot.googlecode.com/svn/trunk@205 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk e7a909a6f8 Added axis transformation support
git-svn-id: https://flot.googlecode.com/svn/trunk@202 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 3360d2747b Option to have the grid on top of the data, important for image plots, and a bug fix, patch by Paul Kienzle
git-svn-id: https://flot.googlecode.com/svn/trunk@197 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 237861e9f8 Explain that plugins can be concatenated to reduce download size/latency
git-svn-id: https://flot.googlecode.com/svn/trunk@185 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk a7355c2100 Added getPlaceholder and renamed internal target to placeholder
git-svn-id: https://flot.googlecode.com/svn/trunk@183 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f01bcee854 Don't use default as attribute name as it is a keyword which
non-Firefox browsers don't like (reported by Charlie Groves)


git-svn-id: https://flot.googlecode.com/svn/trunk@179 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk aebbf14bad Generalized the data normalization step so it can be parameterized
with a format spec (this should also fix the problem of bar bottoms
not affecting the axis scaling), made the heuristic for determing the
number of axis ticks to aim for smarter, added a new image plugin for
plotting images


git-svn-id: https://flot.googlecode.com/svn/trunk@177 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk e8d764d0ba Added "pointOffset" for converting a point in data space to an offset
within the placeholder


git-svn-id: https://flot.googlecode.com/svn/trunk@168 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 2ebeb5d4f6 Added draw hook
git-svn-id: https://flot.googlecode.com/svn/trunk@167 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f1db197e35 New option grid.show, set to false to disable the grid
git-svn-id: https://flot.googlecode.com/svn/trunk@166 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 5081ba4a2f Clarify that barWidth might also be in unit of the y axis
git-svn-id: https://flot.googlecode.com/svn/trunk@164 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk d3acc16e46 Removed work-around for slow jQuery mousemove events (closing issue
134), add new hooks and new API for interactive plugins, move
crosshair support to plugin


git-svn-id: https://flot.googlecode.com/svn/trunk@159 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 0d15280aa9 Implemented plugin system, introduced experimental hooks system (three hooks defined at the moment), moved thresholding to plugin, new stack plugin for stacking charts, refactoring of data processing to support plugin writing, moved series specific global options, changed semantics of arguments to plothover event to reflect the situation with data transformations
git-svn-id: https://flot.googlecode.com/svn/trunk@157 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 5144848cc2 Clarify that the default fill color of points is white
git-svn-id: https://flot.googlecode.com/svn/trunk@150 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk a4c7fa34fb Clarify how to set tick labels (issue 144)
git-svn-id: https://flot.googlecode.com/svn/trunk@149 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk bab1366438 Added notice about broken background images on IE 7 based on report from Fred in issue 125
git-svn-id: https://flot.googlecode.com/svn/trunk@146 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago