From af26aaa53d073a7b2d25caee93e1cb5ceb2e099c Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Fri, 23 Oct 2009 09:07:01 -0400 Subject: flot-0.6 --- examples/interacting.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'examples/interacting.html') 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) { -- cgit v1.2.3