Commit Graph

2862 Commits

Author SHA1 Message Date
Jukka Kurkela
931d686adb Float bars: data as objects (#6739)
Float bars can be specified in object data points
2019-11-15 08:40:45 -05:00
Ben McCann
c12ca17e38 Remove unused helpers.canvas.roundedRect (#6734) 2019-11-15 07:49:41 -05:00
Ben McCann
64b4776242 Include helpers._alignPixel only once (#6735) 2019-11-14 07:17:29 -05:00
Ben McCann
cb95a36b94 Fix value passed to getPixelForTick (#6724) 2019-11-14 07:15:44 -05:00
Jukka Kurkela
4feaea925f Small chores (#6740)
* Remove duplicate code
* Migrate `xLabel` and `yLabel` from docs & samples
2019-11-13 19:04:56 -05:00
Jukka Kurkela
76a89f0922 determineDataLimits optimizations (#6695) 2019-11-12 19:24:07 -05:00
Jukka Kurkela
fef2a13ef6 Update time combo sample (#6736) 2019-11-12 19:20:52 -05:00
Ben McCann
cd8f3846e3 Remove helpers.previousItem/nextItem (#6727) 2019-11-12 19:18:58 -05:00
Ben McCann
09ef08acfe Remove Element _index and _datasetIndex for real this time (#6726)
* Remove Element _index and _datasetIndex for real this time

* Remove unused _datasetIndex
2019-11-12 19:18:29 -05:00
Jukka Kurkela
30cbdc6a4d Convert element.line mock tests to fixtures (#6730) 2019-11-12 13:59:29 -05:00
Evert Timberg
2354e2ff6b
Allow functions to be specified for scale grid line options (#6700)
Add scriptable options for scale styling
2019-11-12 07:03:00 -05:00
Jukka Kurkela
d5b6698d8c Performance improvements (#6729) 2019-11-11 18:28:17 -05:00
Jukka Kurkela
91466ae358 Remove remaingin zeroLine* references (#6728) 2019-11-11 12:12:11 -05:00
Ben McCann
49c4761e1b Don't make legend empty when fill is false (#6718) 2019-11-10 20:03:38 -05:00
Jukka Kurkela
11ef1e5e89 Versatile clipping (#6642)
Versatile clipping algorithm for different chart types
2019-11-10 17:41:01 -05:00
Ben McCann
a3392e0e59 Remove index and datasetIndex from Element (#6688)
Remove `index` and `datasetIndex` properties from elements.
2019-11-10 07:52:12 -05:00
Ben McCann
1049aa65b8 Remove unused method. Prefix private ones with underscore (#6721) 2019-11-10 07:49:16 -05:00
Jukka Kurkela
81f5cf416a Performance optimizations when animations are disabled (#6710)
* Don't copy _model when animations are disabled

* Review comments
2019-11-09 21:57:54 -05:00
Ben McCann
46aff21a3d Fix undefined variable (#6699) 2019-11-08 19:59:44 -05:00
Jukka Kurkela
fcf76c5edd Fix sample paths and include all options (#6712) 2019-11-08 19:59:26 -05:00
Jukka Kurkela
9589953c02 Context compatibility with dataLabels (#6713)
* Context compatibility with dataLabels

* document

* THe + wording
2019-11-08 19:59:05 -05:00
Jukka Kurkela
a2bf51a73c Update package-lock.json (#6714) 2019-11-08 11:12:28 -05:00
Ben McCann
3a33793f64 Generate jsdocs (#5824) 2019-11-08 07:28:21 -05:00
Ben McCann
4a8a7ee824 Use ES6 classes for elements (#6702)
* Use ES6 classes for elements

* Add additional elements
2019-11-07 19:51:26 -05:00
Evert Timberg
94afa63450
Remove zeroLineIndex functionality (#6697)
* Remove zeroLineIndex functionality

* Remove docs

* Code review updates
2019-11-07 06:27:49 -05:00
Edward Thomson
aff7d41140 Add cross-platform CI (#6670)
* Linux and Windows CI with GitHub Actions
* Add karma-edge-launcher
* Add edge configuration to karma.conf.js
* Support --browsers on the command line for karma tests
* Add macOS CI builds
* Add karma-safari-private-launcher
* Document browser specification for tests
2019-11-06 07:14:09 -05:00
Ben McCann
b90552b9ca Remove check that is always true (#6701) 2019-11-06 07:13:40 -05:00
Ben McCann
e42413f3e8 Remove unused model properties (#6691)
* Remove unused model properties
* Add to migration guide
2019-11-05 18:10:44 -05:00
Ben McCann
7a2160461d Remove unused Element methods (#6694) 2019-11-05 18:09:44 -05:00
Jukka Kurkela
3f7aa73f52 Remove duplicate array equality function (#6693) 2019-11-05 18:08:14 -05:00
Ben McCann
f0fb2c65b1 Remove tension option backwards compatibility (#6692) 2019-11-05 07:11:53 -05:00
Ben McCann
83d447f317 Fix doughnut sample (#6690) 2019-11-05 07:10:01 -05:00
Jukka Kurkela
72df272234 Early data parsing, stacking by value and support object data (#6576)
* Early data parsing + stacking by value
* Review comments
* review comments
* Remove reduntant parsing
* Couple CC warnings
* Optimize filterBetween
* More migration info
2019-11-04 18:07:01 -05:00
Ben McCann
dd8d267956 Remove bundled builds (#6680) 2019-11-02 15:48:49 -04:00
Ben McCann
80587bb68d Remove unused parameters (#6674) 2019-11-02 15:20:19 -04:00
Ben McCann
b39acdb580 Comment explaining hover animation (#6676) 2019-11-02 09:19:50 -04:00
Ben McCann
9c2baa3c23 Remove backwards compatibility for update second arg (#6675) 2019-11-02 09:18:42 -04:00
Jukka Kurkela
6942e9058c Hide correct dataset from legend (#6667) 2019-11-01 14:06:08 -04:00
Evert Timberg
95ba11a427
Add radial and linear gradient sample files (#6666)
* Add radial gradient sample file
* Add linear gradient sample file
2019-11-01 07:20:37 -04:00
Evert Timberg
0a873c0786
Fix polar area sample (#6665) 2019-11-01 07:19:36 -04:00
Ben McCann
99811328dc Make all ticks objects (#6645)
Make all ticks object
2019-10-31 18:45:13 -04:00
jatiny17
ae7a3c27a3 Adding title for the axes (#6571)
Create sample to show how to add an axis title
2019-10-31 18:14:37 -04:00
Ben McCann
eef153de40 Upgrade dependencies (#6662) 2019-10-31 18:03:00 -04:00
Jukka Kurkela
c068f2178a Update eslint-config-chartjs (#6650) 2019-10-30 18:51:01 -04:00
stockiNail
14010530d7 Added the global datasets defaults for new extended chart type (#6649)
Added documentation to create a global datasets default for new extended chart type.
This is currently mandatory for BAR/HORIZONTALBAR charts (see issue [#6636](https://github.com/chartjs/Chart.js/issues/6636))
2019-10-30 18:42:15 -04:00
Jukka Kurkela
63b7bd7a5b Update deprecated constructors (#6647) 2019-10-30 18:41:40 -04:00
Jukka Kurkela
09bd524dd3 Use document when getRootNode is unsupported (#6630) 2019-10-29 17:22:35 -04:00
Ben McCann
994fe712de Remove deprecated userCallback (#6638) 2019-10-29 17:22:11 -04:00
Ben McCann
46ae5814fd Start v3 migration guide (#6639) 2019-10-29 17:21:45 -04:00
RatherLogical
50fd869334 Update tooltip content and styling on update() (#6635)
Update tooltip content and styling on update()
2019-10-29 06:39:07 -04:00