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
2016-05-30 15:37:19 +00:00
2016-05-26 18:43:39 -04:00
2016-05-26 18:43:39 -04:00
2016-03-14 23:41:04 +00:00
2016-06-02 10:52:19 -04:00
2016-05-24 15:04:20 +00:00
2016-05-26 18:43:39 -04:00
2016-05-26 18:43:39 -04:00

Chart.js

Build Status Code Climate Coverage Status

Chart.js on Slack

Simple HTML5 Charts using the canvas element chartjs.org

Installation

To download a zip, go to the Chart.js on Github

To install via npm / bower:

npm install chart.js --save
bower install Chart.js --save

CDN: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.4/Chart.min.js

Documentation

You can find documentation at www.chartjs.org/docs. The markdown files that build the site are available under /docs. Previous version documentation is available at www.chartjs.org/docs/#notes-previous-versions.

Contributing

Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.

For support using Chart.js, please post questions with the chartjs tag on Stack Overflow.

Building and Testing

gulp build, gulp test

Thanks to BrowserStack for allowing our team to test on thousands of browsers.

License

Chart.js is available under the MIT license.

Description
Simple HTML5 Charts using the tag
Readme 67 MiB
Languages
JavaScript 89%
TypeScript 10.6%
Shell 0.2%
HTML 0.2%