Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds stroke_width documentation

  • Loading branch information...
commit 3b4e51a67590985a88ba586e59d59566c5ae0c3e 1 parent be5d6d7
Alex Young authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/index.md
View
4 docs/index.md
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.