gwyneblaidd
7d8526f691
Add support for floating bar chart ([start, end]) ( #6056 )
2019-05-21 10:54:13 +02:00
Jukka Kurkela
2a96d83c2c
Implement layers (z-index) for layout items ( #6241 )
2019-05-09 15:54:05 +02:00
Akihiko Kusanagi
feeda5d034
Make legend appearance consistent with chart elements ( #5621 )
2019-05-09 15:33:19 +02:00
Ben McCann
d6a5ea0d36
Implement per-dataset type (default and per-chart) options ( #5999 )
2019-05-06 22:52:40 +02:00
Josh McEwen
faad023313
Fix typo in doughnut documentation ( #6186 )
2019-04-08 09:43:12 +02:00
stockiNail
15d8ac38bd
Make docs consistent for cubicInterpolationMode and fill ( #6132 )
2019-04-08 09:42:06 +02:00
Akihiko Kusanagi
14007a912d
Fix ticks.minor and ticks.major configuration issues ( #6102 )
2019-04-02 09:45:34 +02:00
Ben McCann
a43e3b0f08
Specify time scale min and max options in standard manner ( #6097 )
2019-04-02 09:43:26 +02:00
Dave Kichler
07fae6159e
Implement legend.align: 'start', 'center', 'end' ( #6141 )
...
New `options.legend.align`config option for controlling alignment of legend blocks in horizontal/vertical legends.
2019-03-23 10:25:17 +01:00
Janelle deMent
b9290a20de
Make line options scriptable ( #6128 )
2019-03-21 09:06:39 +01:00
Ben McCann
390a8d7b41
Add docs for the date adapter used by the time scale ( #6134 )
2019-03-18 08:14:01 +01:00
Akihiko Kusanagi
6c9f899911
Add the description of the tooltip alignment options ( #6139 )
2019-03-18 08:05:27 +01:00
Jukka Kurkela
75e76cffe5
Make decimalPlaces private and update CDN links ( #6131 )
2019-03-13 10:36:10 +01:00
Simon Brunel
eddd1f14ba
Keep the previous extensions page link alive ( #6127 )
...
Instead of a direct link, restore the extensions.md file which now redirects /notes/extensions.html to https://github.com/chartjs/awesome in case anyone bookmarked it / there were links to it.
2019-03-12 08:35:39 +01:00
Ben McCann
653e9a954e
Add a note about how to include an example against master ( #6107 )
2019-03-03 10:26:40 +01:00
Akihiko Kusanagi
946c6d0617
Fix document errors related to ticks ( #6099 )
2019-03-01 18:03:20 -05:00
Simon Brunel
b2f7adc2b4
Revamp the README.md and add link to the awesome list ( #6096 )
...
Integrate the upcoming awesome list and make our README.md welcome page more user friendly by displaying the Chart.js logo, adding the docs TOC and removing instructions that was already in the docs.
2019-03-01 09:13:21 +01:00
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
Ben McCann
79fc340514
Add instructions for image-based tests to the contributors guide ( #6073 )
2019-02-25 09:17:37 +01:00
Jukka Kurkela
0ec3f5569e
Add support for per side border width for rectangle ( #6077 )
2019-02-25 09:03:12 +01:00
Jon Rimmer
b36d55d093
Add onLeave to legend config docs ( #6088 )
2019-02-25 08:59:48 +01:00
Ben McCann
f2b099b835
Initialize date adapter with chart options ( #6016 )
2019-02-21 08:11:32 +01:00
Akihiko Kusanagi
20c26455ba
Add a link to chartjs-plugin-rough to extensions.md ( #6081 )
2019-02-20 16:13:41 +01:00
Ben McCann
1c01272c9a
Improve autoSkip documentation ( #6079 )
2019-02-20 09:28:07 +01:00
Abel Heinsbroek
32aeeac82c
Add crosshair plugin to extensions page ( #6070 )
2019-02-18 10:09:37 +01:00
Alfie Hopkin
af464f8a85
Enhance legend label color point when usePointStyle is true ( #6006 )
2019-02-10 19:04:29 +01:00
Akihiko Kusanagi
8b07cc2f28
Implement scriptable options for points in radar charts ( #6041 )
2019-02-09 23:07:54 +01:00
James Bedford
0ed652b39f
Fix typo in radial linear scale docs ( #6054 )
2019-02-09 08:19:57 +01:00
Simon Brunel
55128f74c1
Move CSS in a separate file to be CSP-compliant ( #6048 )
...
In order to be compatible with any CSP, we need to prevent the automatic creation of the DOM 'style' element and offer our CSS as a separate file that can be manually loaded (`Chart.js` or `Chart.min.js`). Users can now opt-out the style injection using `Chart.platform.disableCSSInjection = true` (note that the style sheet is now injected on the first chart creation).
To prevent duplicating and maintaining the same CSS code at different places, move all these rules in `platform.dom.css` and write a minimal rollup plugin to inject that style as string in `platform.dom.js`. Additionally, this plugin extract the imported style in `./dist/Chart.js` and `./dist/Chart.min.js`.
2019-02-08 19:06:04 +01:00
Janelle deMent
7c11c81d96
Fix broken markdown link in 'line' docs ( #6053 )
2019-02-08 07:06:17 +01:00
Ben McCann
765c432dfa
Fix duplicate anchor ( #6038 )
...
* Fix broken documentation anchors
* Revert changes to installation docs
2019-02-04 20:00:44 -05:00
Akihiko Kusanagi
80a159eb9d
Enforce tooltip item label
and value
to be strings ( #6030 )
...
Also update the docs for `xLabel` and `yLabel` to also accept a `number`.
2019-02-01 09:21:53 +01:00
Jukka Kurkela
29f7fa23bb
Replace tooltip item xLabel and yLabel with label and value ( #5996 )
2019-01-30 11:41:19 +01:00
Janelle deMent
fee44cfeef
Omit inconsistent note about scriptable options ( #6026 )
2019-01-30 09:24:26 +01:00
Simon Brunel
e07c5d0c6c
Make moment optional from our UMD builds ( #5978 )
2019-01-29 17:54:22 +01:00
Akihiko Kusanagi
0d01bcf5cc
Fix typos and make the docs consistent ( #6020 )
2019-01-29 13:34:16 +01:00
Ben McCann
740e0874a4
Update contributors guide and issue templates ( #5962 )
2019-01-16 09:35:14 +01:00
Evert Timberg
a655da076e
Implement scriptable options for points in line charts ( #5973 )
2019-01-15 09:24:12 +01:00
Janelle deMent
352e53a0b6
Update the responsive docs about resizing the parent node ( #5974 )
...
Add a note about resizing the chart height with maintainAspectRatio
2019-01-13 21:20:25 +01:00
Evert Timberg
f3dd96779a
Implement scriptable options for polar area charts ( #5976 )
2019-01-13 21:17:27 +01:00
Akihiko Kusanagi
9d1d2023d4
Fix labelOffset description ( #5979 )
2019-01-11 19:29:39 -05:00
Ben McCann
b50a1c21f2
Fix typo / grammar in the responsive docs ( #5975 )
2019-01-11 07:31:36 +01:00
Jukka Kurkela
20c748f90b
Fix modifying ticks in afterBuildTicks ( #5913 )
2019-01-11 07:29:38 +01:00
Evert Timberg
e1ed26f315
Implement scriptable options for doughnut charts ( #5966 )
2019-01-10 16:00:36 +01:00
Alexander Wunschik
f342299845
Fix contribution docs about gulp-cli ( #5968 )
...
Update the docs so that only gulp-cli is installed globally
2019-01-09 08:10:58 +01:00
Akihiko Kusanagi
d29ec5a485
Add scale.pointLabels.lineHeight and scale.ticks.lineHeight options ( #5914 )
2018-12-20 09:56:06 +01:00
Angus Comrie
7e429a8fc6
Add 'middle' interpolation to stepped plots ( #5908 )
2018-12-18 14:47:24 +01:00
Akihiko Kusanagi
db8f6c38dc
Add support for 'inner' border for arc elements ( #5841 )
2018-12-18 13:58:02 +01:00
Dave Salomon
4fb259e3ac
Add support for hiding axis when all linked datasets are hidden ( #5885 )
...
When `display: 'auto'`, the axis is visible only if at least one associated dataset is visible.
2018-12-18 09:33:03 +01:00
Simon Brunel
52b9793ba0
Use HTTPS instead of HTTP for URLs supporting it
2018-12-17 07:50:02 +01:00