Commit 11ed6a29 authored by David Schnur's avatar David Schnur

Enable tooltips and coordinates by default.

Lots of people ask about implementing tooltips; hopefully enabling it by
default will help them find it more easily.
parent 7efb3876
...@@ -111,14 +111,14 @@ ...@@ -111,14 +111,14 @@
<p>One of the goals of Flot is to support user interactions. Try pointing and clicking on the points.</p> <p>One of the goals of Flot is to support user interactions. Try pointing and clicking on the points.</p>
<p> <p>
<label><input id="enablePosition" type="checkbox"></input>Show mouse position</label> <label><input id="enablePosition" type="checkbox" checked="checked"></input>Show mouse position</label>
<span id="hoverdata"></span> <span id="hoverdata"></span>
<span id="clickdata"></span> <span id="clickdata"></span>
</p> </p>
<p>A tooltip is easy to build with a bit of jQuery code and the data returned from the plot.</p> <p>A tooltip is easy to build with a bit of jQuery code and the data returned from the plot.</p>
<p><label><input id="enableTooltip" type="checkbox"></input>Enable tooltip</label></p> <p><label><input id="enableTooltip" type="checkbox" checked="checked"></input>Enable tooltip</label></p>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment