summaryrefslogtreecommitdiff
path: root/examples/dual-axis.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dual-axis.html')
-rw-r--r--examples/dual-axis.html3
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' } });