Chart.js/docs/charts
Vincent-Ip 93f4e6e4e8 New weight option for pie and doughnut charts (#5951)
Add functionality to give pie & doughnut datasets a weight attribute, which affects the relative thickness of the dataset when there are multiple datasets in pie & doughnut charts. The default weight of each dataset is 1, providing any other numerical value will allow the pie or doughnut dataset to be drawn with a thickness relative to its default size. 

For example a weight of 2 will allow the dataset to be drawn double its typical dataset thickness. Note that the weight attribute will only affect a pie or doughnut chart if there is more than one visible dataset. Using weight on a pie or doughnut dataset when there is only one dataset on the chart will have no affect.
2019-02-27 23:06:54 +01:00
..
area.md Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
bar.md Add support for per side border width for rectangle (#6077) 2019-02-25 09:03:12 +01:00
bubble.md Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
doughnut.md New weight option for pie and doughnut charts (#5951) 2019-02-27 23:06:54 +01:00
line.md Fix broken markdown link in 'line' docs (#6053) 2019-02-08 07:06:17 +01:00
mixed.md Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
polar.md Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00
radar.md Implement scriptable options for points in radar charts (#6041) 2019-02-09 23:07:54 +01:00
README.md Consistent use of punctuation and quick review in docs (#5796) 2018-11-02 08:46:06 +01:00
scatter.md Fix typos and make the docs consistent (#6020) 2019-01-29 13:34:16 +01:00

Charts

Chart.js comes with built-in chart types:

Area charts can be built from a line or radar chart using the dataset fill option.

To create a new chart type, see the developer notes.