Update docs and add plugin section (suggested by @simonbrunel)

This commit is contained in:
Zach Panzarino
2016-08-09 14:34:59 +00:00
parent 52667a3d0c
commit 57f2d7de58
3 changed files with 14 additions and 3 deletions

View File

@@ -136,4 +136,4 @@ var myChart = new Chart(ctx, {
It's that easy to get started using Chart.js! From here you can explore the many options that can help you customise your charts with scales, tooltips, labels, colors, custom actions, and much more.
There are many examples of Chart.js that are available in the [samples folder](https://github.com/chartjs/Chart.js/tree/master/samples) of the GitHub repository.
There are many examples of Chart.js that are available in the `/samples` folder of `Chart.js.zip` that is attatched to every [release](https://github.com/chartjs/Chart.js/releases).

View File

@@ -127,7 +127,7 @@ myLineChart.getDatasetAtEvent(e);
#### .getDatasetMeta(index)
Looks for the dataset that matches the current index and returns that metadata. This returned data has all of the metadata that is used to construct the chart, and can be used to share data between charts.
Looks for the dataset that matches the current index and returns that metadata. This returned data has all of the metadata that is used to construct the chart.
The `data` property of the metadata will contain information about each point, rectangle, etc. depending on the chart type.

View File

@@ -75,9 +75,20 @@ Built in Chart Types
| Gauges | | ✓ | |
| Maps (Heat/Tree/etc.) | | ✓ | |
### Popular Plugins
There are many plugins that add additional functionality to Chart.js. Some particularly notable ones are listed here. In addition, many plugins can be found on the [Chart.js GitHub organization](https://github.com/chartjs).
- <a href="https://github.com/chartjs/Chart.Zoom.js" target="_blank">Chart.Zoom.js</a> - Enable zooming and panning on charts
- <a href="https://github.com/chartjs/Chart.Annotation.js" target="_blank">Chart.Annotation.js</a> - Draw lines and boxes on chart area
- <a href="https://github.com/chartjs/Chart.BarFunnel.js" target="_blank">Chart.BarFunnel.js</a> - Adds a bar funnel chart type
- <a href="https://github.com/chartjs/Chart.Deferred.js" target="_blank">Chart.Deferred.js</a> - Defer initial chart update until chart scrolls into viewport
- <a href="https://github.com/chartjs/Chart.smith.js" target="_blank">Chart.Smith.js</a> - Adds a smith chart type
- <a href="https://github.com/chartjs/Chart.LinearGauge.js" target="_blank">Chart.LinearGauge.js</a> - Adds a linear gauge chart type
### Popular Extensions
There are many extensions which are available for use with popular frameworks. Some particularly notable ones are listed here:
There are many extensions which are available for use with popular frameworks. Some particularly notable ones are listed here.
#### Angular
- <a href="https://github.com/jtblin/angular-chart.js" target="_blank">angular-chart.js</a>