Ben McCann
f9cd9fdf76
JSDoc and other cleanup ( #7057 )
2020-02-05 08:27:02 -05:00
Ben McCann
c79e8090e8
Make datasetController an ES6 class ( #7056 )
2020-02-04 18:09:56 -05:00
Ben McCann
3b61a1f86e
Generate ticks when source is data ( #7044 )
...
Generate ticks when source is data
2020-02-03 19:22:09 -05:00
Ben McCann
1c18a74ea0
Fix some JSDoc errors ( #7026 )
...
* Fix some JSDoc errors
* Fix helpers.dom JSDoc errors
* Add scale JSDoc errors
* Address review comment
* Fix additional errors
* Document optional parameters
* JSDoc fixes for datasetController
* Remove undefined
2020-02-03 07:52:55 -05:00
Ben McCann
f5d9892ad8
Improved formatting of numeric scale labels ( #7007 )
...
* Improved formatting of numeric scale labels
* Put locale on options
* Use scientific notation for big ticks
* Remove extra parameter
2020-02-03 07:36:30 -05:00
Ben McCann
eec71bfb22
Fix isRadial is always false ( #7037 )
2020-01-30 19:22:38 -05:00
Ben McCann
dac52d189e
Convert the DateAdapter to ES6 ( #7032 )
2020-01-30 19:20:59 -05:00
Ben McCann
c667a9ef85
Move text helpers and reduce scope of imports ( #7028 )
2020-01-30 19:19:53 -05:00
Jukka Kurkela
cb6d7f80d1
Fix binarySearch for empty dataset ( #7023 )
2020-01-28 11:46:23 -05:00
Evert Timberg
b59dd5082e
When gridLines.display is false, the axis border is still drawn ( #7014 )
2020-01-27 17:57:31 -05:00
David Winegar
1ad5f369af
Allow switching platforms ( #6964 )
...
Allow switching platforms
Move the Chart.platform to Chart.platform.current instead, and add
ways to see available platforms and set the current platform. This
is necessary for adding tests that use the "basic" platform.
2020-01-26 15:33:20 -05:00
Evert Timberg
08110af6f1
Proper text alignment for multiline tick labels ( #6988 )
...
* Proper text alignment for multiline tick labels
* Handle other rotations as well
2020-01-22 11:13:43 -05:00
Ben McCann
fe3931b077
Reduce scope of imports ( #7000 )
2020-01-22 07:19:44 -05:00
Jukka Kurkela
9fda5ec667
Use binary search for interpolations ( #6958 )
2020-01-21 18:31:17 -05:00
Jukka Kurkela
fb19b77e4b
Fix tooltip for 'dataset' mode ( #6961 )
2020-01-21 09:48:58 -05:00
Evert Timberg
5aaff3a1aa
Convert Tooltip to a plugin ( #6990 )
...
* Convert Tooltip to a plugin
* code review feedback
* Update docs. Convert positioners map to be on the plugin directly
2020-01-21 06:36:53 -05:00
Jukka Kurkela
16baf20356
Resize on zoom, retry ( #6987 )
2020-01-19 13:15:27 -05:00
Evert Timberg
216ac70261
Show color box only on the first line of the tooltip body ( #6984 )
...
* Show color box only on the first line of the tooltip body
* Code review feedback
2020-01-19 09:03:51 -05:00
Ben McCann
fac507819f
Use import statements in test code ( #6977 )
2020-01-17 19:13:38 -05:00
Jukka Kurkela
767ffc05ce
Resize on zoom ( #6974 )
...
* Resize on zoom
* Add test
2020-01-17 19:07:28 -05:00
Jukka Kurkela
6e38813481
Fix clipping when zoomed ( #6973 )
2020-01-17 19:05:51 -05:00
Ben McCann
02279b38fc
Fix reference to distanceBetweenPoints ( #6962 )
2020-01-14 18:26:35 -05:00
Ben McCann
9bd2af9e9b
Move location of dataset options ( #6955 )
...
* Move location of dataset options
* Fix misplaced period
2020-01-13 19:39:30 -05:00
Jukka Kurkela
f1817979a0
Fix log scale calculations ( #6903 )
...
* Fix log scale calculations
* Fully remove _valueOffset
* Invalidate 0
* Review update
* Skip NaN
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com >
2020-01-13 19:36:50 -05:00
Ben McCann
738ee34d0b
Scriptable tick fonts ( #6939 )
...
* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting
2020-01-13 19:33:46 -05:00
Jukka Kurkela
5e6fb37646
Detect stack change ( #6947 )
...
* Detect stack change
* Add test
2020-01-13 19:33:24 -05:00
Jose Raul Pérez
b1421c6ea1
Add stroke lines option around ticks to improve readability ( #6787 )
...
Enable stroking of text on of axis labels
2020-01-12 14:22:51 -05:00
Jukka Kurkela
f1677b6652
Limit interactions to chartArea (+/-0.5px) ( #6943 )
...
Limit interactions to chartArea (+/-0.5px)
2020-01-11 18:10:32 -05:00
Jukka Kurkela
5054ecfd7e
Re-parse existing elements when data is replaced ( #6925 )
...
* Re-parse existing elements when data is replaced
* Update test
2020-01-10 18:31:17 -05:00
Jukka Kurkela
547aa51544
Draw active points last ( #6944 )
2020-01-10 18:27:30 -05:00
Ben McCann
c6c4a52257
Switch most requires to imports ( #6935 )
2020-01-09 07:23:53 -05:00
Ben McCann
59120c38f4
Make sampleSize apply to computeLabelSizes ( #6926 )
2020-01-07 07:43:47 -05:00
Ben McCann
3b55de73fa
Improve calculation for number of ticks that can fit ( #6927 )
2020-01-07 07:26:29 -05:00
Evert Timberg
9cb65d2c97
Add API to change data visibility ( #6907 )
2020-01-06 17:16:00 -05:00
Jukka Kurkela
b5d5ed987a
Internal data by axis instead of scale id ( #6912 )
...
* Internal data by axis instead of scale id
* Test
* Update test
* Update docs
2020-01-06 07:22:18 -05:00
Ben McCann
224fc11500
Scale cleanup ( #6916 )
2020-01-05 16:42:15 -05:00
Ben McCann
ecb0784f0d
Remove minSize ( #6910 )
2020-01-05 10:42:42 -05:00
Jukka Kurkela
c9fa553fb2
Remove for of loops for IE compatibility ( #6905 )
2020-01-04 12:59:27 -05:00
Jukka Kurkela
f4792306e0
Remove global from defaults ( #6893 )
2020-01-03 14:07:38 -05:00
Jukka Kurkela
099e552e6d
Small optimizations ( #6868 )
...
* Only extend element if configuration is provided
* Time scale lookup optimization
2020-01-03 13:57:25 -05:00
Jukka Kurkela
afe30ca642
Determine if data is sorted ( #6885 )
...
* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs
2020-01-03 13:56:41 -05:00
Evert Timberg
e96ad6f249
Remove HTML legend that is mostly unsupported. ( #6887 )
...
* Remove HTML legend that is mostly unsupported.
Resolves the discussion in #5070
* Add migration docs
2020-01-03 13:56:11 -05:00
Evert Timberg
4ab6d7cc2a
Enable override settings for the axis border ( #6883 )
...
* Enable override settings for the axis border - #4041
Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.
* Correct spelling
2020-01-03 13:55:50 -05:00
Evert Timberg
b35e552686
Convert Chart class to an ES6 class ( #6886 )
...
* Chart class is now an ES6 class
* Use of const and let in core Chart class
* Use import/export for core Chart file
2020-01-01 18:11:16 -05:00
Jukka Kurkela
102a311b44
Rewrite filler ( #6795 )
...
Filler plugin is rewritten and test coverage increased
2019-12-31 12:56:15 -05:00
Ben McCann
8bc250f63a
Remove unnecessary method argument ( #6878 )
...
Remove unnecessary method argument
2019-12-31 08:23:03 -05:00
Jukka Kurkela
3427479a25
IE11 compatibility ( #6872 )
2019-12-30 17:15:57 -05:00
Jukka Kurkela
e48a402935
core.animations ES6 ( #6867 )
2019-12-29 16:55:01 -05:00
Jukka Kurkela
0b68786c04
Resync metasets array when indices change. ( #6864 )
...
* Resync metasets array when indices change.
* Make sure _metasets is initialized
2019-12-28 09:49:34 -05:00
Jukka Kurkela
b83f64b16e
Rewrite animation logic ( #6845 )
...
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
2019-12-27 17:13:24 -05:00