Commit Graph

953 Commits

Author SHA1 Message Date
Evert Timberg
a35f7057f6 Default aspectRatio to 1 for square charts (#7414) 2020-05-25 16:55:12 -04:00
Jukka Kurkela
986f72f933 Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
2020-05-25 16:54:22 -04:00
Evert Timberg
13b8924ac3 Legend onClick callback supports arrow functions (#7410)
#7409 Legend callbacks support arrow functions
The `Legend` is no longer implicitly found through `this` and instead
passed as an explicit argument to the callback functions.
2020-05-24 10:28:41 -04:00
Ben McCann
e0f44051b5 Docs: fix z-index default (#7405) 2020-05-22 17:32:15 -04:00
Jukka Kurkela
5cf054ef25 Use full URL for TypeDocs (#7380)
Use full URL for TypeDocs
2020-05-21 17:11:46 -04:00
Jukka Kurkela
5a83a80811 Move font* to font.* (#7383) 2020-05-21 17:07:06 -04:00
Jukka Kurkela
c2b66ba842 Small update to animation documentation (#7384)
Update animation documentation to include samples
2020-05-21 16:43:36 -04:00
Jukka Kurkela
cfb5fba527 Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-05-20 17:45:44 -04:00
Ben McCann
e63db8689b Upgrade Docusaurus to alpha.55 (#7376) 2020-05-19 10:28:27 -04:00
Ben McCann
c8c577a525 Developer migration documentation (#7358)
* Update the developer guide intro page
* Expand developer migration documentation
2020-05-15 17:16:04 -04:00
Ben McCann
a94e1e175c Add Algolia to docs (#7329) 2020-05-12 16:43:00 -04:00
Ben McCann
29553130de Remove unused bar property and confusing docs referring to it (#7333) 2020-05-12 16:42:48 -04:00
Ben McCann
3a25fe2921 Document the removal of deprecated properties (#7334) 2020-05-12 16:42:26 -04:00
Ben McCann
00f726b0ea Update the contributing guide for Docusaurus (#7327) 2020-05-08 11:09:37 -04:00
Ben McCann
43a3654b34 Improve Docusaurus URLs (#7315) 2020-05-08 09:45:12 -04:00
Ben McCann
2851a94b92 Migrate from GitBook to Docusaurus (#7295)
Migrate from GitBook to Docusaurus
2020-05-05 15:19:57 -04:00
Ben McCann
ce902e1963 Make br tags self-closing (#7275) 2020-04-27 16:25:02 -04:00
Ben McCann
0407e99ab3 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-04-27 16:24:46 -04:00
Ben McCann
14021d369a Remove unused layouts.defaults (#7264)
* Remove unused layouts.defaults
* Add to migration guide
2020-04-11 08:46:33 -04:00
Mohamed Nainar
807aea1b2e Remove bower (#7265) 2020-04-10 17:56:45 -04:00
Ben McCann
d560f9dbad Fix overlapping ticks on log scale (#7242) 2020-04-03 18:12:34 -04:00
Enio
5129e1aaf7 update introduction documentation #7245 (#7247) 2020-04-02 12:02:09 -04:00
Ben McCann
40a11914f5 Improve migration guide for innerRadius/outerRadius (#7218) 2020-03-27 19:47:02 -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