summaryrefslogtreecommitdiff
path: root/examples/interacting.html
diff options
context:
space:
mode:
authorIgor Sfiligoi <isfiligoi@ucsd.edu>2009-10-23 09:07:01 -0400
committerIgor Sfiligoi <isfiligoi@ucsd.edu>2009-10-23 09:07:01 -0400
commitaf26aaa53d073a7b2d25caee93e1cb5ceb2e099c (patch)
treebcb8d15baea1f07375d1dedea414b1b95d58caa6 /examples/interacting.html
parentbf64e197b39d3f10b6145612802a6f169248cb45 (diff)
flot-0.6
Diffstat (limited to 'examples/interacting.html')
-rw-r--r--examples/interacting.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/interacting.html b/examples/interacting.html
index 5cb59d0..fbf0390 100644
--- a/examples/interacting.html
+++ b/examples/interacting.html
@@ -33,12 +33,13 @@ $(function () {
}
var plot = $.plot($("#placeholder"),
- [ { data: sin, label: "sin(x)"}, { data: cos, label: "cos(x)" } ],
- { lines: { show: true },
- points: { show: true },
- selection: { mode: "xy" },
- grid: { hoverable: true, clickable: true },
- yaxis: { min: -1.2, max: 1.2 }
+ [ { data: sin, label: "sin(x)"}, { data: cos, label: "cos(x)" } ], {
+ series: {
+ lines: { show: true },
+ points: { show: true }
+ },
+ grid: { hoverable: true, clickable: true },
+ yaxis: { min: -1.2, max: 1.2 }
});
function showTooltip(x, y, contents) {