aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorxliiv <tymoteusz.jankowski@gmail.com>2015-03-05 14:46:29 +0100
committerxliiv <tymoteusz.jankowski@gmail.com>2015-03-05 14:46:29 +0100
commitfcda557ee0a36528f04e5b87a32b00171f68cab9 (patch)
tree0726873a7c3dc7070831cc5da07a5eacaa1c1c5e /doc
parent66a8395e33eb7c84f871b8a2c4e9a70b2c0c9c34 (diff)
downloadtipboard-fcda557ee0a36528f04e5b87a32b00171f68cab9.tar.gz
tipboard-fcda557ee0a36528f04e5b87a32b00171f68cab9.tar.bz2
tipboard-fcda557ee0a36528f04e5b87a32b00171f68cab9.zip
Updated advanced-plot doc
Fixed documentation for advanced-plot. Key mentioned in doc. was *plot_data* which is incorrect. Correct key is: plotData
Diffstat (limited to 'doc')
-rw-r--r--doc/tile__advanced_plot.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tile__advanced_plot.rst b/doc/tile__advanced_plot.rst
index afeabab..88e02b3 100644
--- a/doc/tile__advanced_plot.rst
+++ b/doc/tile__advanced_plot.rst
@@ -26,7 +26,7 @@ Here you will find `some examples <http://www.jqplot.com/deploy/dist/examples/>`
"data" = {
"title": "<tile>",
"description": "<description>",
- "plot_data": "<data>"
+ "plotData": "<data>"
}
where:
@@ -35,7 +35,7 @@ where:
Title and description (subtitle) for the tile.
-.. describe:: plot_data
+.. describe:: plotData
Data that will be fed directly to your plot. Its form depends on the
specific type of plot that you are going to use - see jqPlot's documentation
@@ -50,7 +50,7 @@ from the top)::
-d "tile=advanced_plot"
-d "key=<tile_id>"
-d 'data={"title": "Metric Tons per Year", "description": "",
- "plot_data": [[[2,1], [4,2], [6,3], [3,4]],
+ "plotData": [[[2,1], [4,2], [6,3], [3,4]],
[[5,1], [1,2], [3,3], [4,4]],
[[4,1], [7,2], [1,3], [2,4]]]}'