Permalink
Browse files

Adds stroke_width documentation

  • Loading branch information...
1 parent be5d6d7 commit 3b4e51a67590985a88ba586e59d59566c5ae0c3e Alex Young committed Feb 8, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/index.md
View
@@ -104,6 +104,10 @@ new Ico.LineGraph(document.getElementById('linegraph'), {
* `bar_labels`: Display the actual value of each bar in a bar graph
* `line`: Provide an array to plot a line alongside a bar graph
+### Options for `Ico.LineGraph`
+
+* `stroke_width`: Sets the stroke width, defaults to `3px`. Set to `0` to get a scatter plot
+
### Grouped Bar Graphs
Multidimensional arrays will be rendered as 'grouped' bar graphs. Notice that two colours are specified, one for each bar in the group. This is still a work in progress and hasn't been tested thoroughly yet.

0 comments on commit 3b4e51a

Please sign in to comment.