Commit Graph

3270 Commits

Author SHA1 Message Date
Evert Timberg
6f13fd2aef Doughnut controller overrides (#7702) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
5e194021c7 'stack' mode for filler (#7705)
'stack' mode for filler
2020-09-01 11:30:15 -04:00
Jukka Kurkela
483d06eebd Add offset option for arc (#7691)
* Add offset option for arc
* Finishing touches
2020-09-01 11:30:15 -04:00
Samuel Gratzl
8fadae6c91 WIP: TypeScript types (#7668)
First version of types
2020-09-01 11:30:15 -04:00
Jukka Kurkela
7eccdb746e Export extensible classes in ESM compatible way (#7650)
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
2020-09-01 11:30:15 -04:00
Jukka Kurkela
bcfc85594b Include Chart.defaults always (#7686) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
256f49701d Resolve fonts through options.font (#7674)
* Resolve fonts through options.font
* Remove defaultRoutes from Tooltip fonts
2020-09-01 11:30:15 -04:00
stockiNail
447f2410de Add some additional info and sections to animation documentation (#7685) 2020-09-01 11:30:15 -04:00
stockiNail
709141fbdc fixed default of tension property of line element (#7677) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
3d18d14188 Fix casing of dist files in docs (#7670) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
ecf86e5b7e Live demo in getting-started page (#7659)
* Output docs directly to dist
* Live demo in getting-started page
2020-09-01 11:30:15 -04:00
Ben McCann
1b76db997d Docs: chart should live in own container (#7658) 2020-09-01 11:30:15 -04:00
Ben McCann
2c5bfc282f Fix import statement in docs (#7653) 2020-09-01 11:30:15 -04:00
Evert Timberg
5a7b67a46f Do not use line defaults in legend (#7649) 2020-09-01 11:30:15 -04:00
dependabot[bot]
8f145c8ada Bump lodash from 4.17.15 to 4.17.19 (#7645)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 11:30:15 -04:00
Evert Timberg
6ca6911245 Bump package version in preparation for alpha2 release (#7586)
* Bump package version in preparation for alpha2 release
* Bump lockfile as well
* Mark build as pre-release
2020-09-01 11:30:15 -04:00
Jukka Kurkela
7e79c476b6 Update spanGaps docs (#7643) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
2cbcd8892f minBarLength at base going both ways (#7642) 2020-09-01 11:30:15 -04:00
Ben McCann
117c2bdb10 Fix tooltip in financial sample (#7638) 2020-09-01 11:30:15 -04:00
Ben McCann
d0922b3c2e Determine unit automatically in test (#7637) 2020-09-01 11:30:15 -04:00
Ben McCann
0a53cac43d Add test fixture for financial sample (#7635)
Add test fixture for financial sample
2020-09-01 11:30:15 -04:00
Jukka Kurkela
452ac661d8 FloatBar: update range only for value scale (#7634) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
3f9ddade9c Animation events sanity (#7629) 2020-09-01 11:30:15 -04:00
stockiNail
eff5c696dd Removes the line hegiht property from title documentation (#7631) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
af1db1710a Fix remaining issues in samples (#7625)
* Fix remaining issues in samples
* Update migration guide
* Use element instead
* Update tooltip.md
2020-09-01 11:30:15 -04:00
Jukka Kurkela
d03d1de575 Leftover defaults (#7628)
* Remove leftover placeholders from defaults
* Add migration note about moved plugin defaults
2020-09-01 11:30:15 -04:00
Jukka Kurkela
9ed04f000c Fix category scale tick placement with autoSkip (#7622) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
1d9511dc62 Align axes documentation with the changes (#7624) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
5f83ff1c3a Move register/unregister to core.controller (#7626) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
f301785c6b Fix links to fonts.md (#7623) 2020-09-01 11:30:15 -04:00
Ben McCann
cb9292d6e1 Move registration migration guide to user migration section (#7620) 2020-09-01 11:30:15 -04:00
Ben McCann
46b216003e Tooltip: add dataPoint and rename value to formattedValue (#7618)
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
2020-09-01 11:30:15 -04:00
Jukka Kurkela
766c3e9a51 Registry fixes (#7617)
* Fix documentation for classical extensions
* Tests and fixes for registry
2020-09-01 11:30:15 -04:00
Jukka Kurkela
82a0b06ed6 Line hide (#7612)
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
2020-09-01 11:30:15 -04:00
Jukka Kurkela
61b8beb33e Registry bugs (#7608)
* Stop failing early when no scales are registered
* Move filler defaults
* Move legend defaults
* Remove legendHitBoxes from title
* Move @kurkle/color to devDependencies
2020-09-01 11:30:15 -04:00
Jukka Kurkela
8f417162db Update charts.md (#7609) 2020-09-01 11:30:15 -04:00
Ben McCann
48f6de2413 Align the tooltip callbacks parameters with scriptable options (#7603)
Align the tooltip callbacks parameters with scriptable options
2020-09-01 11:30:15 -04:00
Ben McCann
7c370f761d Fix errors in custom tooltip samples (#7595) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
49a9fe3c60 PluginService using registry (#7590)
PluginService using registry
2020-09-01 11:30:15 -04:00
stockiNail
73da99a136 Tooltip Model documentation sounds not correct (#7592)
Tooltip Model documentation sounds not correct
Fixed #7591
2020-09-01 11:30:15 -04:00
Ben McCann
948355ef30 Add normalized option (#7538)
Add normalized option to time scales
2020-09-01 11:30:15 -04:00
Jukka Kurkela
5be87ca880 Generic registry for controllers, scales, elements and plugins (#7435)
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-09-01 11:30:15 -04:00
Ben McCann
291000a291 Remove duplicate tests (#7568) 2020-09-01 11:30:15 -04:00
Ben McCann
71f313facb Enable autoSkip for time scale to match others (#7570) 2020-09-01 11:30:15 -04:00
Ben McCann
b1dc6bd55a Fix padding for labels (#7572) 2020-09-01 11:30:15 -04:00
Ben McCann
5c2b4c2743 Use all timestamps for calculating offsets (#7573) 2020-09-01 11:30:15 -04:00
Ben McCann
fd2000c018 Pass context parameter to custom tooltip (#7579) 2020-09-01 11:30:15 -04:00
stockiNail
0cd445f724 The hover* options of bar chart doc page change as scriptable (#7584)
In the bar chart, the `hoverBackgroundColor`, `hoverBorderColor and `hoverBorderWidth` options are scriptable.
In the previous version (2.9.3) they weren't documented as scriptable but they are.
2020-09-01 11:30:15 -04:00
JohnMHoyt24
5b2a0942a5 Grammar updates to the description on the homepage (#7581) 2020-09-01 11:30:15 -04:00
Evert Timberg
46aa198b08 Fix tooltip caret border when caret is on right or bottom (#7565)
* Fix tooltip caret border when caret is on right or bottom
* Lint fixes

* Code review feedback
2020-09-01 11:30:15 -04:00