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
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
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
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