Ole Laursen
e55b5b4d61
Prefix canvas classes with "flot-" to prevent clashes, mostly a
...
problem with .overlay (reported by bcraysie/Bob Cravens, issue 540)
15 years ago
Ole Laursen
2c8fc1a08f
Fix missing ; (reported by getify, issue 518)
15 years ago
Ole Laursen
5a60696886
Fix calculation of plot offset to round values to prevent another source of blurry borders
15 years ago
Ole Laursen
d60f0d47bb
Previous commit missed some changes, oops
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
Ole Laursen
9f060ec8e1
Round measured label dimensions to fix problem with blurry grid lines
15 years ago
Ole Laursen
431a603bec
Fix bug with new label drawing code when an axis is missing the ticks,
...
fix missing semicolon
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
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
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
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
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
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
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
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
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
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
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
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
56bd76f19c
Fix bug with parsing data for plugins that have single point data
...
elements (patch by vpapp1)
git-svn-id: https://flot.googlecode.com/svn/trunk@271 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk
59b1afed91
Fix bug when position is 0 in p2c/axisToCanvasCoords
...
git-svn-id: https://flot.googlecode.com/svn/trunk@267 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk
ffca77abcf
Fix bug in backwards compatibility code for multi-axis support, reported by
...
mystic414 (issue 393)
git-svn-id: https://flot.googlecode.com/svn/trunk@265 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
3765bb4e09
Remove never-triggered condition
...
git-svn-id: https://flot.googlecode.com/svn/trunk@260 1e0a6537-2640-0410-bfb7-f154510ff394
16 years ago
olau@iola.dk
9b3ef35d34
Make sure measurement labels are deleted, round widths of labels, fix
...
recently introduced border margin calculation bug
git-svn-id: https://flot.googlecode.com/svn/trunk@259 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
467b95455e
Put tickLabel class on tick labels (regression)
...
git-svn-id: https://flot.googlecode.com/svn/trunk@254 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
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
5d68d11b67
Fix a couple of undeclared variables, noticed by Daniel Farina
...
git-svn-id: https://flot.googlecode.com/svn/trunk@244 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
685220dddc
More robust handling of axis from data passed in from getData
...
git-svn-id: https://flot.googlecode.com/svn/trunk@240 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