Commit aaa1cc7f authored by David Schnur's avatar David Schnur

Document the new plot chainable property.

parent 49cce02b
...@@ -15,6 +15,14 @@ don't use for anything else. Make sure you check any fancy styling ...@@ -15,6 +15,14 @@ don't use for anything else. Make sure you check any fancy styling
you apply to the div, e.g. background images have been reported to be a you apply to the div, e.g. background images have been reported to be a
problem on IE 7. problem on IE 7.
The plot function can also be used as a jQuery chainable property. This form
naturally can't return the plot object directly, but you can still access it
via the 'plot' data key, like this:
```js
var plot = $("#placeholder").plot(data, options).data("plot");
```
The format of the data is documented below, as is the available The format of the data is documented below, as is the available
options. The plot object returned from the call has some methods you options. The plot object returned from the call has some methods you
can call. These are documented separately below. can call. These are documented separately below.
......
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