Commit Graph

598 Commits (840937cf333ca6a7a2820ca6680f900d69af0128)
 

Author SHA1 Message Date
David Schnur 840937cf33 Updated path to the timezone example.
The location of the file changed during the recent example revamp.
13 years ago
David Schnur a2cbc3a6be Load timezones asynchronously.
This prevents the Chicago example from showing up blank.  The
alternative is to define a callback, but that's messier.
13 years ago
David Schnur 23005fdd4e Move placeholder styles into .demo-placeholder.
This allows a page to have multiple placeholders, since we're no longer
tied to unique IDs.
13 years ago
David Schnur ec168da2cb Merge pull request #942 from sejordan/tickformatter-bug
Fix incorrect display of NaN with the default tickFormatter.
13 years ago
Sean Jordan f6f764eb2d Fixing bug with default tickFormatter
Change-Id: If53fdb1bf9563834c58cf2b569d0e1a6a7155eb8
13 years ago
David Schnur b637d67b9b Merge pull request #940 from dnschnur/better-examples
Revamped the built-in examples.
13 years ago
David Schnur e08ec95749 Updated examples index page styles. 13 years ago
David Schnur 713ba7704a Update example index page links for nesting. 13 years ago
David Schnur a2718dbee6 Add the Flot version to each example's footer. 13 years ago
David Schnur 79c3e25fe6 Allow live resizing in the resize example. 13 years ago
David Schnur ab7eb27c43 Flatten pie button styles so they fit in better. 13 years ago
David Schnur cf9cb4296c Fix the pie interactivity example. 13 years ago
David Schnur 61a13d1059 Additional code & comments cleanup. 13 years ago
David Schnur 492e97eacc Avoid being too specific in placeholder styles. 13 years ago
David Schnur ed791745c7 Re-styled and cleaned up all the examples. 13 years ago
David Schnur 8e8327f5d9 Add a sub-header style for per-plot labels. 13 years ago
David Schnur 0f23d23118 Pad check boxes to match the new page font size. 13 years ago
David Schnur 2eccabcf8c Generalize placeholder styles.
Give any direct child of demo-containre the same style, so it can be
used for both #placeholder and #overview.
13 years ago
David Schnur eeb1b9df28 Expand inputs to match the new page font size. 13 years ago
David Schnur 8a1180579c Expand buttons to match the new page font size. 13 years ago
David Schnur e05f390040 Fix plot legend padding.
Added explicit border-spacing to compensate for global removal of
padding.  Flot should really take care of this itself; layout-critical
styles shouldn't depend on the user-agent defaults.
13 years ago
David Schnur 6bdc88c1f9 Beautified CSS used by the examples pages.
Slightly widened the page to account for the fact that most people have
widescreen monitors these days.  Also made text larger and more legible,
and created a nice 'clipping' effect for the placeholder.
13 years ago
David Schnur a4ad4707d5 Updated credits for #934 threshold overlapping. 13 years ago
David Schnur 7e27b6d238 Merge pull request #934 from NIA/threshold-fixes
flot.threshold: insert generated series after original, not in the end
13 years ago
David Schnur 21e252ea8f Renamed layout.css to examples.css. 13 years ago
David Schnur 707c8ed845 Reorganized examples into subdirectories.
To improve organization with the increasing number of examples, every
example page is now the index of its own subdirectory, which contains
all the files specific to that example.
13 years ago
Ivan Novikov 17ceb51d91 flot.threshold: insert generated series after original, not in the end
Thus, prevent it from becoming topmost (it may cause strange looks if
original series is not topmost: some part of it becomes topmost and
overwrites some lines and points that should be above it instead).
13 years ago
David Schnur 36bfcbf08a Merge pull request #929 from hizhengfu/master
Fix an error in plot offset calculation.
13 years ago
hizhengfu 3c1d04cbd1 Correction calculation error margin
Correction calculation error margin
13 years ago
David Schnur f06fe931ea Merge pull request #861 from thecountofzero/master
Ensure that tickSize updates on subsequent calls to setupGrid.
13 years ago
David Schnur 92a833ce00 Cleaned up jQuery plugins site manifest.
Fixed jQuery version dependency (we require 1.2.6, not 1.3.2) and
whitespace.
13 years ago
David Schnur 4df443bd00 Updated Bower component.json version info.
Flot's semver is 0.8.0-alpha, and it (for now) requires jQuery 1.2.6,
not 1.3.2.
13 years ago
David Schnur a665f6793c Merge pull request #843 from ralphholzmann/bower
Adding component.json for bower.
13 years ago
David Schnur a60dbbfd1f Updated credits for sub-pixel rendering fixes. 13 years ago
David Schnur 29476b8911 Merge pull request #911 from dnschnur/series-zero-option
Added a series 'zero' option to control automatic scaling.
13 years ago
David Schnur be6fc4e41d Draw selection on half-pixels to avoid aliasing.
Adapted from pull request #17.
13 years ago
David Schnur 4a35faff61 Merge pull request #925 from danxshap/master
Always draw crosshair on half-pixels to prevent aliasing.
13 years ago
Daniel Shapiro 1bee76632d Draw crosshair on half-pixels to prevent aliasing 13 years ago
David Schnur 620b05a7e1 Merge pull request #923 from NIA/patch-1
Add passing offsets over plotpan event
13 years ago
David Schnur 2c64f82a4f Added the new 'zero' option to the changelog. 13 years ago
David Schnur 151e96fb27 Expand documentation of the point format options. 13 years ago
David Schnur 1e685b0446 Documented the zero option for bars and lines. 13 years ago
David Schnur 790bbaf55f Mirror the zero option to the categories plugin.
Due to limitations in our plugin architecture, the categories plugin
duplicates code from Flot's core for adding a dummy point to snap the y
axis to zero.  We can get rid of this duplication in 0.9; for now we'll
just update the duplicate to match the change in core that introduced
the new 'zero' option.
13 years ago
David Schnur 6412dafc6e Restrict zero to bars and filled lines only.
This also includes a tweak to zero's default.  Previously zero only
received a value if lines were visible; now it always receives a value,
matching the behavior of other contextual options.
13 years ago
Ivan Novikov c8630d1849 Add passing offsets over plotpan event
Unified this behavior with plotzoom event as in pull #34 flot/flot@1b6c4e933a
13 years ago
David Schnur 3c0bcefc5a Fixed jQuery 1.2.6 mouseleave issue from #920.
Use bind, rather than .mouseleave, because we officially still support
jQuery 1.2.6, which doesn't define a shortcut for mouseenter or
mouseleave.  This was a bug/oversight that was fixed somewhere around
1.3.x.  We can return to using .mouseleave when we drop support for
1.2.6.
13 years ago
David Schnur f2fa1b869e Updated credits for #918 pie percentage errors. 13 years ago
David Schnur 1cd2cd9490 Merge pull request #918 from jtward/patch-1
Change evaluation order for calculating percentage.
13 years ago
James Ward f6198f5db2 Change evaluation order for calculating percentage
Rounding errors are introduced when calculating the percentage when the total is 100 (for example if percentages have already been calculated). Calculating (total/100) first eliminates the error in this case.
13 years ago
David Schnur b6924a96d9 Update auto-scaling to support the zero option.
Added a format option 'autoscale' that controls whether the given point
is considered when determining an automatic scale.

The lines & bars 'zero' option controls whether autoscale is set on the
dummy point that is inserted to create the series lower-bound.
13 years ago