David Schnur
fca41ad5cd
Added BeWiBu to credits for the right-aligned bar fix.
13 years ago
David Schnur
6dfc581d27
Update inline jquery-resize to the latest version.
...
Resolves #997 and #1081 .
13 years ago
David Schnur
ef23fd401a
Updated credits for right-aligned bar fix.
13 years ago
David Schnur
6a39c5ba11
Always simply default to center alignment.
...
Throwing an exception was overkill for such a limited-use option; we
should reserve those, and the file-size bytes they consume, for serious
cases only.
13 years ago
David Schnur
2ce1139cf7
Fix highlights for right-aligned bars.
...
Support for right-aligned bars was never added to the hover or highlight
code; only the actual bar drawing. We need to replicate that in the
other two places as well.
Resolves #1093 .
13 years ago
David Schnur
d94c1b75bc
Updated credits for the flot-tickrotor fix.
13 years ago
David Schnur
df32626007
Added a comment for posterity.
13 years ago
David Schnur
14651f7f79
Merge pull request #1091 from markrcote/master
...
Always remove the tick text in drawAxisLabels() regardless of axis settings
13 years ago
Mark Côté
5a0372159a
Always remove the tick text in drawAxisLabels() regardless of axis settings.
...
Since a plot may be redrawn after removing ticks or hiding the axis,
the tick text should always be removed before determining if there are
ticks to draw.
13 years ago
David Schnur
4318eeaed0
Merge pull request #1090 from dnschnur/axis-labels
...
Added axis labels and rotated text support.
13 years ago
David Schnur
4d1042abf6
Rotate y-axis labels by 90 degrees.
...
The labels are rotated counter-clockwise for left axes and clockwise for
right axes.
13 years ago
David Schnur
6350cc6700
Added core support for rotated HTML text.
13 years ago
David Schnur
97f2a127ae
Axes can now have basic horizontal text labels.
...
Labels are provided via a 'label' option on the axis, and can be styled
with the flot-axis-label class. The labelFont option works similarly to
tickFont, as an override for the default font or the flot-axis-label
class. The labelPadding option adds extra space between the axis and
its label.
Since most plots with axis labels currently use @markrcote's
flot-axislabels plugin, we also support the axisLabel and
axisLabelPadding options, and the axisLabels / axis[name]Label CSS
classes, to make it as easy as possible to transition from that plugin.
These are deprecated, and will be removed in 1.0.
The implementation uses the internal text API introduced in 0.8.
13 years ago
David Schnur
5209b8cd7f
Inline legacyStyles; it wasn't reused anyway.
13 years ago
David Schnur
f75a5a514f
Updated axis option defaults and documentation.
...
Updated the axis option defaults and docs for tickColor, tickFont,
tickWidth, and tickHeight. Also re-organized the API docs to match the
master list, and revised many areas for clarity.
13 years ago
David Schnur
8d38774cac
Added axis.tickFont as an override for axis.font.
13 years ago
David Schnur
81926d033d
Merge pull request #1086 from dentarg/patch-2
...
Fix typo in API.md
13 years ago
David Schnur
32e9575080
Merge pull request #1085 from dentarg/patch-1
...
Change [olson] to http link
13 years ago
Patrik Ragnarsson
488fbc8df5
Fix typo in API.md
13 years ago
Patrik Ragnarsson
13cedbc897
Change [olson] to http link
...
GitHub doesn't render ftp links for some reason ([security?][1]).
[1]: https://github.com/mojombo/jekyll/issues/373#issuecomment-15025728
13 years ago
Cedric Le Roux
caf1c7c9a5
Fixing Issue 686: Tooltip bug
13 years ago
David Schnur
65c38d0b59
Minor reordering of axis options.
13 years ago
David Schnur
cfe16e1edb
Rename labelWidth/Height to tickWidth/Height.
13 years ago
David Schnur
b079efca0d
Merge branch 'code-cleanup' into 0.9-work
...
Conflicts:
jquery.flot.js
jquery.flot.threshold.js
13 years ago
David Schnur
bb18e099f1
Merge branch 'master' into 0.9-work
13 years ago
David Schnur
bd191efb89
Fix further trailing and inconsistent whitespace.
13 years ago
David Schnur
1b29c62fe0
Tweak Travis test target to omit dependencies.
13 years ago
David Schnur
797099867b
Pull inline dependencies out into their own files.
...
We can inline the dependencies automatically as part of the build
process.
13 years ago
David Schnur
ffcd71f416
Miscellaneous code cleanup.
13 years ago
David Schnur
b074bde4aa
Updated credits for API table of contents.
13 years ago
David Schnur
a4c4163109
Merge pull request #1064 from brianpeiris/patch-1
...
Add table of contents
13 years ago
Brian Peiris
2b901841b2
Move TOC below main title and make it horizontal
13 years ago
Brian Peiris
d777b2e795
Add table of contents
...
The reference document is quite large; a table of contents would help readers navigate and find topics. (TOC was generated via [DocToc](http://doctoc.herokuapp.com/ ))
13 years ago
David Schnur
3de9c0e99c
Don't cache hasOwnProperty.
...
It's a little confusing, JSHint complains, and it doesn't make a big
difference anyway.
13 years ago
David Schnur
13cbd2ce11
Updated credits for threshold above operator.
13 years ago
David Schnur
82da190c04
Merge pull request #1058 from kquinsland/threshholdUpdate
...
Updated threshold plugin to work with 'above' operator. Resolves #1059 .
13 years ago
David Schnur
2b744b1d5f
Add timezoneJS to the JSHint allowed globals.
...
We trust that jquery.flot.time.js checks for timezoneJS's existence
before using it.
13 years ago
David Schnur
5c005f6b88
Wrap for...in loop bodies with hasOwnProperty.
13 years ago
David Schnur
e0413b9308
Factor out duplicate variable definitions.
13 years ago
David Schnur
f39c71fbc7
Remove unused variable definitions.
13 years ago
David Schnur
9fc03e5375
Switch to === and !== for safer equality testing.
13 years ago
David Schnur
1d4bee99fb
Fix incorrect line termination.
13 years ago
David Schnur
49c312c36d
Fix lines incorrectly broken before an operator.
13 years ago
David Schnur
b8905be584
Fix mixed spaces and tabs.
13 years ago
David Schnur
f24a67e752
Wrap one-statement if and for blocks in braces.
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
7efb3876fa
Add missing semicolon.
13 years ago
Karl Quinsland
db3a081d66
updated threshold plugin to work with 'above' operator
13 years ago
David Schnur
05dfea7767
Convert single-quoted strings to double-quotes.
13 years ago
David Schnur
e1684b4648
Remove trailing white-space.
13 years ago