Lubomir Sotirov 38f85c98b5 Fix 3267 Add "onHover" functionality for legend (#3271)
Add "onHover" to the legend options that will hold a user defined function (default is null) and called when a "mousemove" event is registered on top of a label item, with same parameters as the "onClick" option.

Also introduced logic that determines if the type of event passed to the legend "handleEvent" function is one we can handle. Currently allowing "click" and "mousemove" events. If the event is not one of those we stop the function execution (this is for the sake of reusing the legend hitbox calculations).
2016-09-08 14:42:42 +02:00
2016-05-30 15:37:19 +00:00
2016-03-14 23:41:04 +00:00
2016-08-30 00:04:39 +02:00
2016-07-28 23:44:22 -06:00

Chart.js

Build Status Code Climate Coverage Status

Chart.js on Slack

Simple HTML5 Charts using the canvas element chartjs.org

Installation

You can download the latest version of Chart.js on GitHub or just use these Chart.js CDN links.

To install via npm:

npm install chart.js --save

To Install via bower, please follow these instructions.

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

To build, run gulp build.

To test, run gulp test.

To test against code standards, run gulp lint.

More information on building and testing can be found in gulpfile.js.

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%