Commit 8d07034e authored by olau@iola.dk's avatar olau@iola.dk

Add clarification about the use of setData to the API documentation

git-svn-id: https://flot.googlecode.com/svn/trunk@60 1e0a6537-2640-0410-bfb7-f154510ff394
parent e5a73a33
...@@ -523,6 +523,12 @@ members: ...@@ -523,6 +523,12 @@ members:
ticks, legend etc. will not be recomputed (use setupGrid() to do ticks, legend etc. will not be recomputed (use setupGrid() to do
that). You'll probably want to call draw() afterwards. that). You'll probably want to call draw() afterwards.
You can use this function to speed up redrawing a plot if you now
that the axis won't change. Put in the new data with
setData(newdata) and call draw() afterwards, and you're good to
go.
- getData() - getData()
Returns the data currently used. The data series returned are Returns the data currently used. The data series returned are
......
...@@ -40,4 +40,4 @@ error margin indicators ...@@ -40,4 +40,4 @@ error margin indicators
non-xy based graph types non-xy based graph types
- figure out how to integrate them with the rest of the plugin - figure out how to integrate them with the rest of the plugin
- pie charts - pie charts
- bar charts with keys instead of x values - bar charts, keys instead of x values
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