Commit Graph

2727 Commits

Author SHA1 Message Date
Jukka Kurkela
89f2e04ff0 Fix ticks generation for vertical time scale (#6258) 2019-05-12 16:34:14 +02:00
Ben McCann
707e52a014 Fix determineUnitForFormatting floating point error (#6259) 2019-05-10 15:02:30 +02:00
Jukka Kurkela
2a96d83c2c Implement layers (z-index) for layout items (#6241) 2019-05-09 15:54:05 +02:00
Jukka Kurkela
95b9953922 Fix overlapping auto-generated ticks on time scale (#6115) 2019-05-09 15:42:00 +02:00
Akihiko Kusanagi
feeda5d034 Make legend appearance consistent with chart elements (#5621) 2019-05-09 15:33:19 +02:00
Ben McCann
f093c36574 Cache getScaleForId() calls in the line controller (#6250) 2019-05-08 08:08:02 +02:00
Ben McCann
d6a5ea0d36 Implement per-dataset type (default and per-chart) options (#5999) 2019-05-06 22:52:40 +02:00
Jukka Kurkela
58e154c7da Avoid time related deprecation warnings in tests (#6246) 2019-05-06 22:46:22 +02:00
Evert Timberg
a9d4ebf881 Remove the old slack token used for notifications. (#6245) 2019-05-05 08:08:28 +02:00
Jukka Kurkela
ddee91eb9f Fix tooltip title in radar charts (#6238) 2019-05-03 15:04:25 +08:00
Akihiko Kusanagi
4f722ab619 Fix arc size calculation when circumference is under 2PI (#6224) 2019-05-01 18:05:34 +02:00
Jukka Kurkela
1a2a87be3b Fix arc border with circumference over 2*PI (#6215) 2019-04-30 11:34:10 +02:00
Akihiko Kusanagi
0de9fad2b0 Fix tick label rotation and layout issues (#5961) 2019-04-30 08:55:04 +02:00
Akihiko Kusanagi
a2ab311fa5 Use the appropriate time format for auto tick generation (#6182) 2019-04-26 09:43:36 +02:00
Jukka Kurkela
4e349a0149 Fill before drawing lines (#6208) 2019-04-18 22:52:25 +02:00
Jukka Kurkela
89af7b1383 Fix missing tooltip value in radar charts (#6209) 2019-04-18 22:39:52 +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
c457b506b8 Normalize angle for index in radialLinear scale (#6177) 2019-04-02 10:25:37 +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
Ben McCann
6a2d87f7bb Remove datapoint with duplicate timestamp in order to fix sample (#6169) 2019-04-01 17:30:58 +02:00
Ben McCann
30cb91d2eb Demonstrate multiple units on financial timeseries sample (#6119) 2019-03-28 07:56:37 +01: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
Akihiko Kusanagi
86ed35446d Fix hover animations and optimize pivot() (#6129) 2019-03-21 09:03:39 +01:00
Jukka Kurkela
0d8b8f637f Replace helpers.extend with Object.assign when available or use helpers.merge (#6148) 2019-03-19 13:25:45 +01:00
Ben McCann
4941aa0217 Improvements to helpers.almostWhole (#6120) 2019-03-19 11:42:41 +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
152f1d9725 Bump version to 2.8.0 2019-03-12 11:29:11 +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
Roman Borovik
f5ff45693e Correct typo in a comment in test/index.js (#6122) 2019-03-11 09:06:50 +01:00
Simon Brunel
87a74f99a1
Fix missing Chart.Chart (deprecated) alias (#6112) 2019-03-06 09:12:29 +01:00
Jon Rimmer
d3b7559b9b Tighten check for detecting if Moment is installed (#6113) 2019-03-06 09:11:24 +01:00
Simon Brunel
f9f048a5c5 Bump version to 2.8.0-rc.1 2019-03-04 09:58:08 +01:00
Simon Brunel
31aebf3bab Include generated CSS in the GitHub releases 2019-03-04 09:57:08 +01:00
Ben McCann
858cc80a1f Properly initialize variables if ticks aren't being displayed (#6100) 2019-03-04 09:15:29 +01:00
Jukka Kurkela
344628ba9c Fix animation regression introduced by #5331 (#6108) 2019-03-04 09:11:57 +01:00
Simon Brunel
35273ee948
Optimize the npm package by removing useless files (#6105)
Explicitly target files that should be included in the npm package, making it 10x smaller by removing the docs, samples, scripts, sources, tests and other useless files.
2019-03-03 15:19:11 +01:00
Ben McCann
0ac215b56a Improve financial sample tooltips and interactions (#6089) 2019-03-03 15:00:24 +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
317cae11dc Ignore invalid log scale min and max (#6058) 2019-02-24 10:59:21 +01:00