Commit Graph

125 Commits (master)

Author SHA1 Message Date
Uwe Kleine-König 31087722e8 fix a few trivial typos concerning "separation" and "command" 12 years ago
David Schnur e31ff8e565 Fix IE-breaking trailing comma in the example. 12 years ago
David Schnur 1d3a062833 Update copyright year to 2014. 12 years ago
David Schnur 4964dcb3c1 Fix zoom to selection box when using jQuery 1.9+.
Fixes #1250.
12 years ago
soenter 38f7a8c58d Improve the performance of large data processing(fix spaces -> tabs) 12 years ago
soenter b9c6359c22 Improve the performance of large data processing 12 years ago
Cedric Le Roux caf1c7c9a5 Fixing Issue 686: Tooltip bug 13 years ago
David Schnur 11ed6a2909 Enable tooltips and coordinates by default.
Lots of people ask about implementing tooltips; hopefully enabling it by
default will help them find it more easily.
13 years ago
David Schnur 2c4c39f472 Revert changes committed accidentally.
These changes were used to test the axis innermost property fix, and
should not have been committed.
13 years ago
David Schnur ed3f14897e Always set the axis innermost property.
It doesn't make sense to calculate the innermost property only when no
tickLength has been provided; the two have little to do with each other.
13 years ago
David Schnur eac1bc3351 Removed example file committed accidentally. 13 years ago
David Schnur dbad717c90 Give the example placeholder its own line-height.
This way it doesn't inherit from something further up, whose line-height
may be more or less than we expect.
13 years ago
David Schnur 96c451a0c6 Added an example to demonstrate canvas text. 13 years ago
David Schnur 60ed6b2963 Merge pull request #935 from dnschnur/canvas-text
Moved canvas text support into a plugin.
13 years ago
David Schnur b8b3b9cb7f Updated the pie 'combined' example.
Tweaked the description to indicate that we no longer combine single
slices into 'other', and reduced the threshold from 10% to 5% to
encourage more slices to combine in the demo.
13 years ago
David Schnur 4203a66eba Add text to its actual layer before measuring it.
The getTextInfo method previously added new text to the top-level
container when measuring it.  Now it adds the text to the text layer,
just as it will be when rendered, so that parent-child CSS rules can
resolve correctly.

This also avoids having to safe a reference to the top-level container,
since it wasn't used anywhere else.
13 years ago
David Schnur 9696579386 Minor tweak to example title alignment. 13 years ago
David Schnur aaf41ea411 Fix placeholders for examples with other content.
After shrinking the global example placeholder size, ones with
additional content within the demo area needed to be tweaked
individually, to prevent the other content from wrapping down or
extending off the side of the container.
13 years ago
David Schnur b475c7219e Slightly reduce placeholder and header sizes.
The smaller size ensures that the example plots remain fully visible on
more of our most common visitor screen resolutions.
13 years ago
David Schnur bcce4a48b5 Load the first AJAX series by default.
We don't want users to think the example is broken when they first load
it.
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 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 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
Mark Côté 657a39b8f9 Unbitrotted risicle's patch from issue #49.
Also fixed formatting and removed unused change to tickFormatter args.
14 years ago
Mark Côté 883dda2a20 Updated timezone-js and Olson database to fix time zones example. Updated README. 14 years ago
David Schnur dd7793b7dc Demonstrate use of object as borderWidth. 14 years ago
David Schnur 701f2f6e41 Style cleanup and converting spaces to tabs. 14 years ago
David Schnur 8525ea7526 Added an extra test case to the pie example. 14 years ago
David Schnur 985cccae6a Add tickDecimals to the setting-options example.
It's useful to include the tickDecimals option in one of our examples,
so it's easier to test across versions.  The setting-options example is
the logical place to put it.
14 years ago
Julien Thomas b48f1aa9e7 Pie: Allow to set shadow distance and alpha of a tilted pie 14 years ago
David Schnur 2bc8791306 Cleanup of errorbars plugin and example.
Linked the errorbars example to the examples index page, and cleaned up
both the example and documentation at the top of the plugin.
14 years ago
David Schnur 79e6dd00ad Merge pull request #41 from RuiPereira/errorbars_plugin
Added a plugin to generate error bars.
14 years ago
Rui Pereira bc02c58d4f Errorbars plugin and example.
As in http://code.google.com/p/flot/issues/detail?id=215
14 years ago