diff options
author | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2009-10-23 09:07:01 -0400 |
---|---|---|
committer | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2009-10-23 09:07:01 -0400 |
commit | af26aaa53d073a7b2d25caee93e1cb5ceb2e099c (patch) | |
tree | bcb8d15baea1f07375d1dedea414b1b95d58caa6 /examples/dual-axis.html | |
parent | bf64e197b39d3f10b6145612802a6f169248cb45 (diff) |
flot-0.6
Diffstat (limited to 'examples/dual-axis.html')
-rw-r--r-- | examples/dual-axis.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/dual-axis.html b/examples/dual-axis.html index 03a94e6..093505d 100644 --- a/examples/dual-axis.html +++ b/examples/dual-axis.html @@ -28,7 +28,8 @@ $(function () { $.plot($("#placeholder"), [ { data: oilprices, label: "Oil price ($)" }, { data: exchangerates, label: "USD/EUR exchange rate", yaxis: 2 }], - { xaxis: { mode: 'time' }, + { + xaxis: { mode: 'time' }, yaxis: { min: 0 }, y2axis: { tickFormatter: function (v, axis) { return v.toFixed(axis.tickDecimals) +"€" }}, legend: { position: 'sw' } }); |