summaryrefslogtreecommitdiff
path: root/examples/turning-series.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/turning-series.html
parentbf64e197b39d3f10b6145612802a6f169248cb45 (diff)
flot-0.6
Diffstat (limited to 'examples/turning-series.html')
-rw-r--r--examples/turning-series.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/turning-series.html b/examples/turning-series.html
index 7b25479..f72fe62 100644
--- a/examples/turning-series.html
+++ b/examples/turning-series.html
@@ -67,7 +67,9 @@ $(function () {
var choiceContainer = $("#choices");
$.each(datasets, function(key, val) {
choiceContainer.append('<br/><input type="checkbox" name="' + key +
- '" checked="checked" >' + val.label + '</input>');
+ '" checked="checked" id="id' + key + '">' +
+ '<label for="id' + key + '">'
+ + val.label + '</label>');
});
choiceContainer.find("input").click(plotAccordingToChoices);