Commit Graph

132 Commits (7cbc14160e9d70d5381c1ff18e4ae1ac1a3f1993)

Author SHA1 Message Date
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
olau@iola.dk 6ce34f4575 Make sure points on top take precedence when finding nearby points when hovering
git-svn-id: https://flot.googlecode.com/svn/trunk@212 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 6277b34c86 Make heuristic for x axis label widths more dynamic (based on patch by rickinhethuis)
git-svn-id: https://flot.googlecode.com/svn/trunk@210 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 c77b0af8e3 Swapped a suspicious looking line in markings drawing
git-svn-id: https://flot.googlecode.com/svn/trunk@206 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 d4c5f4443f Fixed bug in findNearbyItem, patch by zollman (issue 190)
git-svn-id: https://flot.googlecode.com/svn/trunk@204 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 2b9de8299e Fixed some missing semicolons and others detected by js2-mode
git-svn-id: https://flot.googlecode.com/svn/trunk@203 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 b0b1c44238 Don't set axis min/max in processData (only touch datamin/datamax),
fixes problem with redrawing when only setData is called


git-svn-id: https://flot.googlecode.com/svn/trunk@200 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 797697b7f1 Fixed a bug with respecting min/max on partially invalid points, added some missing semicolons
git-svn-id: https://flot.googlecode.com/svn/trunk@199 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 1158d06325 Fix a bug with axis range margins not being set in the same way
(patch by Paul Kienzle), and fix snap to ticks so it works correctly
with max ticks


git-svn-id: https://flot.googlecode.com/svn/trunk@195 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 f11538404e Fix a bug with replotting where Flot would fixate the label sizes,
shuffle the label measuring code around a bit while at it


git-svn-id: https://flot.googlecode.com/svn/trunk@178 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 1d8cb8b3cf Fixed bug in line calculation with small values of shadow size and
line width, reported by lepianiste (issue 179)


git-svn-id: https://flot.googlecode.com/svn/trunk@172 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 a6af993e9b Fixed numerical instability in IE when plotting points by reversing the arc drawing clockwise setting (reported by bsrinisrini, issue 173)
git-svn-id: https://flot.googlecode.com/svn/trunk@162 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk e081505c73 Fixed a hole in the axis scale calculation, triggered by empty data (reported by Mike Waldner, issue 172)
git-svn-id: https://flot.googlecode.com/svn/trunk@161 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f0f9a44fa6 Fixed bug with null point
git-svn-id: https://flot.googlecode.com/svn/trunk@160 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 044ee4e5b8 Fixed silly bug introduced by earlier fix for bars (spotted by Jeff)
git-svn-id: https://flot.googlecode.com/svn/trunk@154 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk ffd8183b9e Quick fix of problem with thresholding
git-svn-id: https://flot.googlecode.com/svn/trunk@152 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 5d9eb59065 Update excanvas to latest release instead of SVN checkout and add hack to make sure excanvas is initialized properly (issue 133)
git-svn-id: https://flot.googlecode.com/svn/trunk@151 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk a154fe66ab Updated work-around bug
git-svn-id: https://flot.googlecode.com/svn/trunk@148 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 67f936bcfc Round tick positions to avoid fractions
git-svn-id: https://flot.googlecode.com/svn/trunk@147 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 9d98787ae4 Fixed use of keyword, reported by Booink
git-svn-id: https://flot.googlecode.com/svn/trunk@145 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 60689d2461 Support for partial bars, this is useful for stacked bars
git-svn-id: https://flot.googlecode.com/svn/trunk@142 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk b993ceef1b Horizontal bars, based on patch from Jason LeBrun
git-svn-id: https://flot.googlecode.com/svn/trunk@141 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 74661de188 Added second parameter to labelFormatter for legend
git-svn-id: https://flot.googlecode.com/svn/trunk@140 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f6b08328f4 Added support for coloring the data points below a certain threshold
git-svn-id: https://flot.googlecode.com/svn/trunk@139 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 89ce1ca9e6 Introduce step-wise line charts, extending the data model to have (possibly) separate data sets for each graph type, and changing the line shadows to include a horizontal component
git-svn-id: https://flot.googlecode.com/svn/trunk@138 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk c7288df528 Refactor to copy data instead of using user-provied data array directly
git-svn-id: https://flot.googlecode.com/svn/trunk@137 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 8bc315f1d2 Little cleanup
git-svn-id: https://flot.googlecode.com/svn/trunk@136 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk f899a097a8 Use SVN release of excanvas, hopefully this will make Flot work with IE
git-svn-id: https://flot.googlecode.com/svn/trunk@135 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 3a520603d0 Fixed problem with bar highlights (report by Chris Leonello)
git-svn-id: https://flot.googlecode.com/svn/trunk@134 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 0dc0decfaa Fixed problem with setting background (patch by achamayou)
git-svn-id: https://flot.googlecode.com/svn/trunk@133 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 3a1d1e7bae Added support for gradient bars
git-svn-id: https://flot.googlecode.com/svn/trunk@132 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk ab264f6ef1 legend.margin can now specify horizontal and vertical margins
git-svn-id: https://flot.googlecode.com/svn/trunk@131 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk da43cef68d Added "plotunselected" event
git-svn-id: https://flot.googlecode.com/svn/trunk@130 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 8a78e8f8c2 Added support for gradients, currently only used for the grid background
git-svn-id: https://flot.googlecode.com/svn/trunk@129 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk c9429505cc Make the grid border act similarly to a regular CSS border
git-svn-id: https://flot.googlecode.com/svn/trunk@128 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk b85766e1f9 Don't round markings to prevent sub-pixel problems
git-svn-id: https://flot.googlecode.com/svn/trunk@127 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago