README.md in metrics-graphics-rails-2.1.3.2 vs README.md in metrics-graphics-rails-2.4.0
- old
+ new
@@ -47,10 +47,14 @@
= metrics_graphic_for data, title: "Downloads", description: "This graphic shows a time-series of downloads.", width: 600, height: 250, target: '#downloads', x_accessor: 'date', y_accessor: 'value', time_format: '%Y-%m-%d'
where ``data`` is an Array of Hashes of points with a ``date`` and a ``value`` keys and values. Ex: ``[{date: '2014-11-01', value: 12}, {date: '2014-11-02', value: 18}]``
-`width`, `height`, `time_format` and `description` are optional options.
+`width`, `height`, `time_format` and `description` are optional options.
+
+### Multiple lines
+
+`metrics_graphic_for` helper supports multiple-lined graphs generation. Just pass data as an Array of Arrays in the same format as for single-lined graphs and it should work as a charm.
## Versioning
metrics-graphics-rails 2.1.3 == metrics-graphics 2.1.3