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
9589953c02
Context compatibility with dataLabels ( #6713 )
...
* Context compatibility with dataLabels
* document
* THe + wording
2019-11-08 19:59:05 -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
Ben McCann
b90552b9ca
Remove check that is always true ( #6701 )
2019-11-06 07:13:40 -05:00
Jukka Kurkela
3f7aa73f52
Remove duplicate array equality function ( #6693 )
2019-11-05 18:08:14 -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
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
Ben McCann
99811328dc
Make all ticks objects ( #6645 )
...
Make all ticks object
2019-10-31 18:45:13 -04:00
Ben McCann
eef153de40
Upgrade dependencies ( #6662 )
2019-10-31 18:03:00 -04:00
Ben McCann
994fe712de
Remove deprecated userCallback ( #6638 )
2019-10-29 17:22:11 -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
Jukka Kurkela
0228776e66
Remove deprecated interaction modes ( #6625 )
...
* Remove deprecated interaction modes
* Use default modes
2019-10-28 18:11:38 -04:00
Jukka Kurkela
d6ba91f732
Remove deprecated code from animations and core ( #6624 )
2019-10-27 18:28:47 -04:00
Ben McCann
4d69119d18
Remove mergeTicksOptions ( #6621 )
2019-10-27 18:12:05 -04:00
Jukka Kurkela
5b0a0b039c
Time scale: return time from getValueForPixel ( #6616 )
2019-10-27 16:36:57 -04:00
Eliz
17655c7fec
Add label alignment option to axis label title ( #6521 )
...
Add label alignment option to axis label title
2019-10-27 16:36:08 -04:00
Ben McCann
08d133817b
Remove xLabel and yLabel from tooltip and chart and scales from element ( #6606 )
...
* Element should not have reference to chart
* Remove scales from element
* Remove deprecated xLabel and yLabel
2019-10-27 16:35:15 -04:00
Ben McCann
92a4654d9b
Remove deprecated helpers ( #6607 )
2019-10-27 16:33:44 -04:00
Ben McCann
0da237a315
Remove undocumented "custom" feature ( #6605 )
...
Remove undocumented "custom" feature
2019-10-27 16:33:21 -04:00
Jukka Kurkela
db4a0d4569
Limit onClick to chartArea ( #6227 )
...
* Limit onClick to chartArea
* Utilize helpers.canvas._isPointInArea
2019-10-27 16:29:07 -04:00
Jukka Kurkela
11883aa59d
Stop limiting getDecimalForPixel to chart area ( #6608 )
2019-10-27 09:16:38 -04:00
Jukka Kurkela
333118bff6
Hover styling for dataset in 'dataset' mode ( #6527 )
...
* Hover styling for dataset in 'dataset' mode
2019-10-25 13:22:37 -04:00
Ben McCann
4d7fefcdb6
Remove a couple calls to helpers.each ( #6594 )
2019-10-25 07:14:07 -04:00
Ben McCann
6c9f202c68
Fix autoskip for first segment of chart ( #6584 )
...
* Fix autoskip for first segment of chart
* Fix issue identified during review
2019-10-24 19:21:05 -04:00
Ben McCann
3cb308d16c
Fix sampleSize option ( #6586 )
2019-10-22 20:59:22 -04:00
Jukka Kurkela
cec2d2652e
Remove duplicate scale building ( #6247 )
2019-10-22 19:15:15 -04:00
Jukka Kurkela
6b6f1a4c51
Implement dataset.order ( #6268 )
...
Allow sorting datasets based on the `order` property
2019-10-22 19:14:54 -04:00
Ben McCann
69a5082bd6
Make autoskip aware of major ticks ( #6509 )
...
* Make autoskip aware of major ticks
* Address review comments
* Fix codeclimate warning
* Add test for major and minor tick autoskipping
* Revert change for determining _majorUnit and fix sample
2019-10-19 16:13:04 -04:00
Jukka Kurkela
6bc6630b87
[perf] cache resolved data element options ( #6579 )
...
* [perf] cache resolved data element options
* Address review comments
* Move uninitialized variables, update comments
2019-10-19 09:19:12 -04:00
Ben McCann
daafbc7b66
Sample only if specified option value is smaller than number of ticks ( #6572 )
2019-10-17 20:47:00 -04:00
Ben McCann
fc76610b12
Add ticks.sampleSize option ( #6508 )
2019-10-09 13:25:04 -04:00
Jukka Kurkela
b24e42b1bd
Make sure zeroLineIndex is defined ( #6528 )
2019-09-18 22:18:32 -04:00
Jukka Kurkela
29f1337bd2
Fix right side scale ticks ( #6523 )
2019-09-16 16:03:31 -04:00
Daniel Cohen Gindi
376da2131e
Implemented RTL support for legends and tooltips ( #6460 )
...
Implemented RTL support for legends and tooltips
2019-09-11 19:20:03 -04:00
Ben McCann
995efa5f9e
Improved minimization for calling helpers ( #6507 )
2019-09-07 19:09:15 -04:00
Ben McCann
43beb4e9d5
AutoSkip in update ( #6355 )
...
* AutoSkip in update
* Address review comments
* Add v3 to TODO
* Address review comments
* Remove unrelated code cleanup
2019-09-07 07:24:31 -04:00
Ben McCann
40934837c9
Minor cleanup ( #6362 )
2019-08-12 20:36:46 -04:00
Angus Comrie
a46dd96ddf
clamps argument of toExponential between 0 and 20 ( #6423 )
2019-08-02 21:23:15 -04:00
Akihiko Kusanagi
626d8cc714
Draw the rightmost grid line when offsetGridLines is true ( #6326 )
...
* Draw the rightmost grid line when offsetGridLines is true
* Refactor based on feedback
* Replace helpers.each with for loop
* Minor refactoring
* Refactor _computeItemsToDraw
2019-07-18 18:25:33 -04:00
Jukka Kurkela
cbace1cfe2
Handle reverse support in core.scale ( #6343 )
...
* Move log10 from core.helpers to helpers.math
* Refactor scales
2019-07-15 17:20:16 -04:00
Ben McCann
fb3d6ab93c
Lazily compute label sizes ( #6351 )
...
* Lazily compute label sizes
* Reduce file size
2019-06-27 06:49:04 -04:00
Ben McCann
07109b674b
[performance] replace helpers.each calls with for-loops ( #6301 )
...
* [performance] replace helpers.each calls with for-loops
* Use Math.min/max instead of if statement
* Rename variable
2019-06-22 09:55:46 -04:00
Jukka Kurkela
db6a6d5989
Refactor core.layouts ( #6304 )
2019-06-19 18:08:07 -04:00
Akihiko Kusanagi
d81914ea29
Adjust virtical alignment of tooptip items ( #6292 )
2019-06-19 07:11:48 -04:00
Akihiko Kusanagi
9eecdf4da1
Update dataset metadata when axisID changes ( #6321 )
2019-06-14 11:34:56 +02:00