doc/classes/Lilygraph.html in Kelsin-lilygraph-0.4.0 vs doc/classes/Lilygraph.html in Kelsin-lilygraph-0.4.1

- old
+ new

@@ -220,9 +220,22 @@ number of labels. The size of this array should = the size of the data array. </td> </tr> + <tr class="top-aligned-row context-row"> + <td class="context-item-name">legend</td> + <td class="context-item-value">&nbsp;[RW]&nbsp;</td> + <td class="context-item-desc"> +This allows you to make a legend for your graph. Just pass in a hash of +color =&gt; text pairs. Set to nil if you don&#8216;t want a legend. No +legend is the default. + +<pre> + graph.legend = { '#ff0000' =&gt; 'Chris', '#00ff00' =&gt; 'Caitlin' } +</pre> +</td> + </tr> </table> </div> </div> \ No newline at end of file