Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (19 sloc) 641 Bytes
<lift:surround with="default" at="content">
<h2>Selection support and zooming</h2>
<div id="ph_graph" style="width:600px;height:300px"></div>
<span id="ph_legend" > </span>
<p id="choices">Show:</p>
<lift:snippet type="Selection:render">
<flot:graph>
<script>
// <![CDATA[
// insert checkboxes
var choiceContainer = $('#choices');
$.each(datas_ph_graph, function(key, val) {
choiceContainer.append('<br/><input type="checkbox" name="' + key + '" checked="checked" >' + val.label + '</input>');
});
// ]]>
</script>
</flot:graph>
</lift:snippet>
</lift:surround>
Jump to Line
Something went wrong with that request. Please try again.