Commit Graph

300 Commits (bf3fffd1e1bc52a5d1b62976fef6688ffe06999b)

Author SHA1 Message Date
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
olau@iola.dk d85d6ef990 Patch from Mike R. Williamson to fix make set border color in options parsing code
git-svn-id: https://flot.googlecode.com/svn/trunk@126 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk bf01441dc6 Check position of placeholder before setting it
git-svn-id: https://flot.googlecode.com/svn/trunk@125 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk cc517f691f Added borderColor option, patch from achamayou
git-svn-id: https://flot.googlecode.com/svn/trunk@124 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk edbec9590c Pulled the autoscaleSkipPointsOutside option, it's causing trouble in edge cases and it's probably easier to fix by preprocessing the data
git-svn-id: https://flot.googlecode.com/svn/trunk@123 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk 55bc8c0980 Fixup tracking example a wee bit, add it to index, lower the update timeout value a bit
git-svn-id: https://flot.googlecode.com/svn/trunk@122 1e0a6537-2640-0410-bfb7-f154510ff394
17 years ago
olau@iola.dk aed8cd3c67 Fixed a couple of things related to the crosshair
git-svn-id: https://flot.googlecode.com/svn/trunk@120 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk d0c96fc00b Added access to the built-in date formatter through $.plot.formatDate
git-svn-id: https://flot.googlecode.com/svn/trunk@117 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 9b08e8206f Added documentation and example for the crosshairs feature
git-svn-id: https://flot.googlecode.com/svn/trunk@116 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 0b135a2633 First stab at crosshair support
git-svn-id: https://flot.googlecode.com/svn/trunk@115 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk a4bd63af85 Introduced a plotselecting event which is fired while doing a selection
git-svn-id: https://flot.googlecode.com/svn/trunk@114 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5785c2db56 Call $() on passed in elements to support DOM elements/CSS expressions too
git-svn-id: https://flot.googlecode.com/svn/trunk@112 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 22eb1489eb Added support for skipping points outside the specified range when autoscaling
git-svn-id: https://flot.googlecode.com/svn/trunk@110 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 919b9c7541 Fixed bug with returning y2 values in the selection event
git-svn-id: https://flot.googlecode.com/svn/trunk@109 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 9e7fcc5339 Remove debug output, forgot to save buffer in Emacs before committing
git-svn-id: https://flot.googlecode.com/svn/trunk@108 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5587862a79 Added support for disabling interactivity for specific plots
git-svn-id: https://flot.googlecode.com/svn/trunk@107 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 39faf24b62 Fixed a bug with drawing marking lines with differrent colors
git-svn-id: https://flot.googlecode.com/svn/trunk@106 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk e4775aabee Convert axis min/max to numbers
git-svn-id: https://flot.googlecode.com/svn/trunk@105 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 2c57d5355f Fixed issue with background colors not printing in legend
git-svn-id: https://flot.googlecode.com/svn/trunk@104 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk dae9f62758 Updated mouse position expression to the latest in jQuery 1.2.6
git-svn-id: https://flot.googlecode.com/svn/trunk@102 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk df7faa752d Fixed problems with not showing lines
git-svn-id: https://flot.googlecode.com/svn/trunk@100 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk eb45adb2bb Fixed a bug with setData(getData()) and secondary axes
git-svn-id: https://flot.googlecode.com/svn/trunk@98 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 72ad98a30f Fixed corner-case bug with axis-autoadjustment for flat datasets
git-svn-id: https://flot.googlecode.com/svn/trunk@97 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 45f0757d5d Fixed two corner-case bugs when drawing filled curves
git-svn-id: https://flot.googlecode.com/svn/trunk@96 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk de247e0287 Fixed a couple of minor issues and bumped version no.
git-svn-id: https://flot.googlecode.com/svn/trunk@93 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 938928b83d Support for preventing event in setSelection and revamped coloredAreas as markings with support for lines
git-svn-id: https://flot.googlecode.com/svn/trunk@91 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 20fe8fdbfe Added special-case for highlighting bars
git-svn-id: https://flot.googlecode.com/svn/trunk@90 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5a86074fc5 Fixed two bugs with negative bars
git-svn-id: https://flot.googlecode.com/svn/trunk@89 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 7daabbb36e Integrated patch by Mark Byers for detecting bar hovering
git-svn-id: https://flot.googlecode.com/svn/trunk@88 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 05f5c62e45 Fixed missing var declaration causing trouble in IE, reworded interacting example
git-svn-id: https://flot.googlecode.com/svn/trunk@87 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk c577ea1624 Implemented centering of bars
git-svn-id: https://flot.googlecode.com/svn/trunk@85 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 1d30a164ab Fixed IE problem, fix by Savage Zhang
git-svn-id: https://flot.googlecode.com/svn/trunk@84 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk a4c2998ea8 Fixed a bug with multi-line x-axis labels
git-svn-id: https://flot.googlecode.com/svn/trunk@83 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk de724cf7d7 Refactored the axis adjustment code for bars
git-svn-id: https://flot.googlecode.com/svn/trunk@82 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk f8594bd243 Allow null values in coordinates to have an affect on axis scaling
git-svn-id: https://flot.googlecode.com/svn/trunk@81 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk da9023c19f Document highlight and related
git-svn-id: https://flot.googlecode.com/svn/trunk@80 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 08406b35fb prevent highlights from being cut off and fixed an issue with the placement of axis labels
git-svn-id: https://flot.googlecode.com/svn/trunk@79 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5b60c57f65 Add some polish to the highlight
git-svn-id: https://flot.googlecode.com/svn/trunk@78 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5d2883f623 Preliminary support for highlighting points, still needs polishing
git-svn-id: https://flot.googlecode.com/svn/trunk@75 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 4bc191f031 Spit out pageX/pageY in "plotclick" and "plothover" events, add primitive tooltip stuff to demo
git-svn-id: https://flot.googlecode.com/svn/trunk@74 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 7c9ff67b34 Landed dual axis/hover event/finding nearby datapoints patch
git-svn-id: https://flot.googlecode.com/svn/trunk@73 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 6b1971ed19 Fixed a bug with line widths of bars
git-svn-id: https://flot.googlecode.com/svn/trunk@72 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 09b37caf41 Overwrite the legend container instead of appending to it
git-svn-id: https://flot.googlecode.com/svn/trunk@71 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk c60b93056f Commit patch to fix a bug with drawing bars extending below 0
git-svn-id: https://flot.googlecode.com/svn/trunk@70 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk b66c291b2c Fixed bug when borderWidth is set to 0
git-svn-id: https://flot.googlecode.com/svn/trunk@69 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 84a7a273f2 Display dates according to UTC instead of according to the time zone of the visitor
git-svn-id: https://flot.googlecode.com/svn/trunk@67 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 9a19740128 Set the fill opacity instead of just scaling it
git-svn-id: https://flot.googlecode.com/svn/trunk@65 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk f28eb70f05 Make it possible to set the fill opacity by setting fill to a number
git-svn-id: https://flot.googlecode.com/svn/trunk@64 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 4b5dc00d99 Fix Number.MIN_VALUE bug and prevent the possibility of eternal looping in tick calculations
git-svn-id: https://flot.googlecode.com/svn/trunk@63 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 5dab68ddca Added support for specifying tick label sizes
git-svn-id: https://flot.googlecode.com/svn/trunk@62 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 436abc2f2e Really fix spacing bug
git-svn-id: https://flot.googlecode.com/svn/trunk@61 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk e5a73a3350 Bumped version no.
git-svn-id: https://flot.googlecode.com/svn/trunk@59 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 2015ca3a84 Added more members to the Plot object + a few cleanups
git-svn-id: https://flot.googlecode.com/svn/trunk@57 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 42e32bd34d Fixed up the label measurement stuff, fixed a snap-to-tick bug
git-svn-id: https://flot.googlecode.com/svn/trunk@55 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 78de04479e Added support for customizing the border width, change gridLabel to tickLabel and mention it in the API
git-svn-id: https://flot.googlecode.com/svn/trunk@54 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk cba1486270 Convert data coordinates explicitly to numbers
git-svn-id: https://flot.googlecode.com/svn/trunk@53 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 7a665a14f8 Added support for line segments and null/NaN values
git-svn-id: https://flot.googlecode.com/svn/trunk@51 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk bedf4fb2dc Cleaned up findDataRanges, fix bug in date handling that I just introduced
git-svn-id: https://flot.googlecode.com/svn/trunk@50 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk ad3f6a7370 Be consistent in using $, really fix the IE 7 event issues, and fix text selection properly with feature detection instead of browser hack
git-svn-id: https://flot.googlecode.com/svn/trunk@49 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk de8d3e2b82 Fixed IE 7 problem with selecting
git-svn-id: https://flot.googlecode.com/svn/trunk@48 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 6214c9298b Fixed bug in handling bar series with only one item
git-svn-id: https://flot.googlecode.com/svn/trunk@46 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 865688a15f Some further tweaks to time series handling, implemented support for tickSize and minTickSize, automatic detection of no. ticks
git-svn-id: https://flot.googlecode.com/svn/trunk@45 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk dfba9f38a1 Documented the date support, tweaking the API a bit in the process, deprecated noTicks in favour of a numerical parameter to ticks
git-svn-id: https://flot.googlecode.com/svn/trunk@44 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 7e7f533d2b Added colored area support with an example to show it
git-svn-id: https://flot.googlecode.com/svn/trunk@43 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk c97acff95e Added first stab at time series support
git-svn-id: https://flot.googlecode.com/svn/trunk@42 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk c198ffb2b0 Fixed the look of the legend color boxes in IE
git-svn-id: https://flot.googlecode.com/svn/trunk@41 1e0a6537-2640-0410-bfb7-f154510ff394
18 years ago
olau@iola.dk 71a276d91c Fixed a newly introduced bug in dealing with data where min = max
git-svn-id: https://flot.googlecode.com/svn/trunk@40 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 8cf42618fa Cleaned up the scaling algorithm and some of the tick stuff
git-svn-id: https://flot.googlecode.com/svn/trunk@39 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 65f4bf886f Update version no.
git-svn-id: https://flot.googlecode.com/svn/trunk@37 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 460049f988 Remove mysterious tabs from the indentation
git-svn-id: https://flot.googlecode.com/svn/trunk@36 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk f4ffef258e Added support for clicking on the plot, still a bit primitive
git-svn-id: https://flot.googlecode.com/svn/trunk@34 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 85e6aa9668 Fixed min = max bug, thanks to Michael Messinides
git-svn-id: https://flot.googlecode.com/svn/trunk@32 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 4375f84f8f Removed 1/2 linewidth hack, it is a bad idea for the outline, fixes issue 8
git-svn-id: https://flot.googlecode.com/svn/trunk@27 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 1308e069c9 Added missing semicolons, renamed translate functions
git-svn-id: https://flot.googlecode.com/svn/trunk@25 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk c81f0af709 Added labelFormatter option
git-svn-id: https://flot.googlecode.com/svn/trunk@22 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 50c622e19f Incorporated patch from Guy Fraser for making the color class smaller, also removed a bit of dead weight
git-svn-id: https://flot.googlecode.com/svn/trunk@18 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk ef082822f3 Fixed silly recently-introduced bug that prevents the shadows from showing up
git-svn-id: https://flot.googlecode.com/svn/trunk@15 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk f1d6a37175 Added support for a ticks function and moved labelMargin to .grid
git-svn-id: https://flot.googlecode.com/svn/trunk@13 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 8309363a62 Take the grid background color into account when auto-detecting the legend background
git-svn-id: https://flot.googlecode.com/svn/trunk@11 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk da0726b168 Insert blended background on default legend, fix initial direction for color auto-generation
git-svn-id: https://flot.googlecode.com/svn/trunk@10 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk a709b3d1b6 Fixed more things preventing the packed version from working
git-svn-id: https://flot.googlecode.com/svn/trunk@6 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 64084d1a89 Fixed missing semicolon
git-svn-id: https://flot.googlecode.com/svn/trunk@5 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago
olau@iola.dk 87390ae7fe Added first version
git-svn-id: https://flot.googlecode.com/svn/trunk@2 1e0a6537-2640-0410-bfb7-f154510ff394
19 years ago