Commit Graph

5 Commits

Author SHA1 Message Date
Tarqwyn
2bc8e3c7f6 This PR allows for multi-line labels, as per Slack discussion..
Usage: If a label is an `array` as opposed to a `string` i.e. `[["June","2015"], "July"]` then each element is treated as a seperate line. The appropriate calculations are made to determine the correct height and width, and rotation is still supported.

view samples/line-multiline-labels.html to see it working.

On branch multiline_labels
Changes to be committed:
	modified:   docs/03-Line-Chart.md
	new file:   samples/line-multiline-labels.html
	modified:   src/core/core.helpers.js
	modified:   src/core/core.scale.js
2016-06-03 17:12:19 +01:00
Evert Timberg
327b8d82f5 Allow turning off lines on a per dataset basis 2016-05-27 22:20:51 -04:00
Vanderhoven Nick
07b7db14e9 This fixes documentation issue #2628 2016-05-25 18:39:42 -04:00
Evert Timberg
e81299ded4 Improve line chart docs 2016-05-25 18:39:41 -04:00
Evert Timberg
9962017271 Improve configuration options 2016-05-25 18:39:41 -04:00