Commit Graph

648 Commits

Author SHA1 Message Date
Jukka Kurkela
f65b2c0758 Move font* to font.* (#7383) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
466cf8e8b5 Small update to animation documentation (#7384)
Update animation documentation to include samples
2020-09-01 11:30:15 -04:00
Jukka Kurkela
bbf63991f8 Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-09-01 11:30:15 -04:00
Ben McCann
436bc182bf Upgrade Docusaurus to alpha.55 (#7376) 2020-09-01 11:30:15 -04:00
Ben McCann
57176cc8e2 Developer migration documentation (#7358)
* Update the developer guide intro page
* Expand developer migration documentation
2020-09-01 11:30:15 -04:00
Ben McCann
c0ca411dd7 Add Algolia to docs (#7329) 2020-09-01 11:30:15 -04:00
Ben McCann
1357d19528 Remove unused bar property and confusing docs referring to it (#7333) 2020-09-01 11:30:15 -04:00
Ben McCann
1e4d6a489a Document the removal of deprecated properties (#7334) 2020-09-01 11:30:15 -04:00
Ben McCann
52aef47487 Update the contributing guide for Docusaurus (#7327) 2020-09-01 11:30:15 -04:00
Ben McCann
4ba57f9082 Improve Docusaurus URLs (#7315) 2020-09-01 11:30:15 -04:00
Ben McCann
d75dab036e Migrate from GitBook to Docusaurus (#7295)
Migrate from GitBook to Docusaurus
2020-09-01 11:30:15 -04:00
Ben McCann
cea43206e5 Make br tags self-closing (#7275) 2020-09-01 11:30:15 -04:00
Ben McCann
32f7c92903 Clarify that API docs are generated by TypeDoc (#7274)
Clarifying to answer the question asked in https://github.com/chartjs/Chart.js/issues/6598#issuecomment-613879766
2020-09-01 11:30:15 -04:00
Ben McCann
d105092cf1 Remove unused layouts.defaults (#7264)
* Remove unused layouts.defaults
* Add to migration guide
2020-09-01 11:30:15 -04:00
Mohamed Nainar
61e9b19c2c Remove bower (#7265) 2020-09-01 11:30:15 -04:00
Ben McCann
338c75afd9 Fix overlapping ticks on log scale (#7242) 2020-09-01 11:30:15 -04:00
Enio
beb43eeba8 update introduction documentation #7245 (#7247) 2020-09-01 11:30:15 -04:00
Ben McCann
5e0d9160d2 Improve migration guide for innerRadius/outerRadius (#7218) 2020-09-01 11:30:15 -04:00
Evert Timberg
e22f8bd7dc Update Migration Guide (#7186)
* Add headers & split list  of removed developer properties
* Reorganize option changes & include scale option example
2020-03-11 14:39:11 -04:00
bjones526
e1796d361f expose boxWidth and boxHeight on tooltip (#6995) 2020-03-06 12:17:59 -05:00
Jukka Kurkela
a3dddb45d9 Use global element hidden status for Pie charts (#7156)
Use global element hidden status for Pie / polarArea charts
2020-03-01 09:07:39 -05:00
Jukka Kurkela
df3c73cc5e Give the boot to chartjs-adapter-moment (#7155)
Remove default of using chartjs-adapter-moment
2020-02-27 19:40:31 -05:00
Ben McCann
3c1e04f928 Allow registering scale with single parameter (#7157)
Allow registering scale with single parameter
2020-02-27 19:38:10 -05:00
Ben McCann
0d6c05cca0 WebWorker support (#7146)
Co-authored-by: David Winegar <david.s.winegar@gmail.com>
2020-02-22 14:48:55 -05:00
Jukka Kurkela
d801e56106 Update dependencies and alter privacy of functions (#7138)
* Update dependencies

* Fix privacy problems

* color lib & consistency

* Review update

* getLabelCapacity

* Review update
2020-02-22 08:35:16 -05:00
Ben McCann
392921c354 Remove unnecessary changes (#7140) 2020-02-21 18:55:40 -05:00
Jukka Kurkela
9ddda713e4 Rename steppedLine to stepped (#7127)
Rename steppedLine to stepped
2020-02-19 18:13:40 -05:00
Ben McCann
93f777821a Remove version from docs. Use latest (#7128) 2020-02-19 14:19:46 -05:00
Ben McCann
5899d54249 Include Typedoc files on GitHub pages (#7119) 2020-02-19 14:17:51 -05:00
Ben McCann
028ee30505 Make margins private (#7123) 2020-02-19 14:15:48 -05:00
Jukka Kurkela
7b029aa780 Doughnut / PolarArea cleanup (#7113)
Doughnut / PolarArea cleanup
2020-02-17 18:45:30 -05:00
Jukka Kurkela
bfe34214ac Use ResizeObserver and MutationObserver to detect detach/attach/resize (#7104)
* Use Resize/MutationObserver to detect detach/attach/resize
* Cleanup
* Review update
* Restore infinite resize detection (#6011)
2020-02-17 11:00:03 -05:00
Jukka Kurkela
7c1fb37c61 Babel @kurkle/color for IE support (#7099)
Babel @kurkle/color for IE support
2020-02-14 12:29:33 -05:00
Ben McCann
40b8254ca4 Cleanup private methods on Scales (#7082) 2020-02-11 19:18:13 -05:00
Ben McCann
2f17dbcd70 Prefix private controller methods with underscore (#7081)
Prefix private controller methods with underscore
2020-02-10 17:57:22 -05:00
Ben McCann
795c86e95b Fix errors reported by TypeScript compiler (#7030) 2020-02-07 18:03:33 -05:00
Jukka Kurkela
70b6eab563 Configurable hide/show animations (#7055)
Configurable hide/show animations
2020-02-06 18:16:24 -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
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
2647dd0fbf scale.linearbase cleanup (#7038) 2020-01-31 07:09:52 -05:00
jachstet-sea
f8724b1b7d Fix legend.md markdown syntax (#7034)
* Fix legend.md markdown syntax

Somehow the markdown of a table in the legend.md file was broken ...

* Update legend.md

forgot to add the second option
2020-01-30 19:27:53 -05:00
Ben McCann
d449bbc83a Remove unused helpers (#7039) 2020-01-30 19:23:40 -05:00
Ben McCann
c667a9ef85 Move text helpers and reduce scope of imports (#7028) 2020-01-30 19:19:53 -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
Jukka Kurkela
7eb0c2ca68 Allow specifying spanGaps as number (max distance) (#6993) 2020-01-21 18:33:27 -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
Marc Silverman
b834517378 Proposed fix for issue #6830 (#6884)
* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830

* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.

* Moved to use options.radius instead of caching radius; updated related migration docs.
2020-01-15 17:13:36 -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