Jukka Kurkela
f10b510890
Fix tooltip padding ( #8666 )
2021-03-18 07:27:37 -04:00
Jukka Kurkela
282c85827a
Re-enable oversized boxes ( #8662 )
2021-03-18 07:12:43 -04:00
stockiNail
da50c97e07
Changes defaults in documentation, applied by PR 8657 ( #8660 )
2021-03-18 09:57:56 +02:00
Jukka Kurkela
416062bf68
Update tick positioning ( #8657 )
...
* Update tick positioning
* Update tests
2021-03-17 18:22:21 -04:00
coyotte508
cc7a3fdb06
Update stacked option's typing ( #8656 )
2021-03-17 10:26:30 -04:00
Jukka Kurkela
b6bb24813a
Bump version to v3.0.0-beta.14 ( #8653 )
2021-03-16 17:01:28 -04:00
Jukka Kurkela
34a9991270
Update deps ( #8654 )
2021-03-16 17:01:13 -04:00
Jukka Kurkela
79cc6d3206
Use maxOverflow as minimum layout padding ( #8650 )
...
* Use maxOverflow as minimum layout padding
* fixes
2021-03-16 16:32:29 -04:00
Jukka Kurkela
420aa027b3
Exclude base-line from bar size ( #8648 )
...
* Exclude base-line from bar size
* lint
* add to types
2021-03-16 08:49:19 -04:00
Jukka Kurkela
0a579b6813
Add alignToPixles option for scales ( #8649 )
2021-03-16 08:41:51 -04:00
Jukka Kurkela
99596b0434
Reduce duplication in drawGrid ( #8647 )
2021-03-16 08:07:17 -04:00
Jukka Kurkela
a6b3b99675
Fix tooltip positioning issues ( #8646 )
...
* Fix tooltip positioning issues
* Update fixture, add npm run dev:ff
* Refactor determineXAlign
* Simplify more
* remove unneeded change
2021-03-16 08:06:05 -04:00
Evert Timberg
1f6d0a244b
Linear Scale: Ability to specify a fixed number of ticks ( #8643 )
...
* Option to specify exact number of ticks on linear scale
* Fix issue description in tests
* Add tests for conditions where min/max do not align with niceMin/niceMax
* Refactor linear tick generation algorithm
* Add TS definitions
* Update docs
* Code review feedback + lint fixes
2021-03-15 08:49:25 -04:00
Jukka Kurkela
4d173c6b8a
Allow tooltip callback override in dataset ( #8640 )
2021-03-14 11:29:54 -04:00
Jukka Kurkela
85123ac074
Add option to turn off grouping of bar datasets ( #8641 )
...
* Add option to turn off grouping of bar datasets
* Disregard time offset
2021-03-14 11:27:57 -04:00
Jukka Kurkela
f744c3bde6
Add x/y shorthand for padding options ( #8637 )
2021-03-14 11:21:30 -04:00
38elements
347353a1c9
Add og:image ( #8635 )
2021-03-14 11:08:12 -04:00
Jukka Kurkela
51b2345b67
Loosen the max-statements lint rule for tests ( #8638 )
2021-03-14 11:07:39 -04:00
Evert Timberg
c4cf7b2e08
Document the different parts of cartesian and radial scales with examples ( #8636 )
2021-03-14 08:22:28 +02:00
Evert Timberg
1a2cc27f3a
Add documentation on how plugin hooks interact with the chart ( #8634 )
...
* Add documentation on how plugin hooks interact with the chart
* Add draw.io file for flowcharts
2021-03-14 08:12:06 +02:00
Evert Timberg
d84db2cefc
Radial scale point label backdrop color ( #8633 )
...
* Radial scale point label backdrop color
* Update default tests
* backdropPadding is a single setting
* Up the tolerance a bit
* Update tick backdrop padding options
2021-03-13 17:37:43 -05:00
Evert Timberg
96f6b42c57
Use font lineHeight for tooltip alignment ( #8631 )
...
* Use font lineHeight for tooltip alignment
* Remove toFontString usage from tooltip
2021-03-13 15:14:48 -05:00
Jukka Kurkela
2bff4c1640
Resize: width > 0, height = 0. Use aspectRatio 2 ( #8632 )
2021-03-13 15:11:20 -05:00
Jukka Kurkela
32fd5af904
Radial: min 1/2 of the max radius as chartArea ( #8630 )
...
* Radial: min 1/2 of the max radius as chartArea
* Keep fooling TS
2021-03-13 13:47:21 -05:00
Jukka Kurkela
a026b60653
Change default autoSkipPadding to 3 ( #8629 )
2021-03-13 13:30:19 -05:00
Evert Timberg
6ac89cbb25
Rename scale gridLines
options to be clearer ( #8628 )
...
* Rename `options.gridLines` to `options.grid`
* Rename `offsetGridLines` to `offset`
2021-03-13 19:49:09 +02:00
Jukka Kurkela
9799dbd5a0
Scale: autoSkip before fit ( #8627 )
...
Scale: autoSkip now occurs before fit in the update process
2021-03-13 11:36:12 -05:00
Jukka Kurkela
aae8a06c37
Update context documentation ( #8626 )
2021-03-13 08:05:57 -05:00
Jukka Kurkela
aee979da54
Types: fix bubble chart options ( #8625 )
2021-03-13 08:04:59 -05:00
Jukka Kurkela
49b902aeab
Remove rollup-plugin-size (vulnerability) ( #8624 )
2021-03-13 08:03:45 -05:00
Jacco van den Berg
ec5fb6b601
Update v3-migration.md ( #8622 )
...
Add note in migration guide about ability to use the `auto` register path as a npm module
2021-03-13 14:03:04 +02:00
Jukka Kurkela
b98974f5b2
Fix some animation issues ( #8616 )
...
* Fix some animation issues
* Stop animating shared options on reset
* cc
2021-03-11 18:06:55 -05:00
Jukka Kurkela
bedc3f1575
Fix autoSkip ( #8619 )
...
* Fix autoSkip
* Add tests
2021-03-11 16:25:16 -05:00
Jukka Kurkela
7c8ee6e77f
Add rollup-plugin-size and shave couple of bytes ( #8618 )
...
* Add rollup-plugin-size
* Shave couple of bytes
2021-03-11 16:20:54 -05:00
Jukka Kurkela
1e296ccf4c
Clear stacks when data is replaced ( #8617 )
2021-03-11 16:20:07 -05:00
Ikko Ashimine
e513a90427
Fix typo in animations.mdx ( #8615 )
...
transtion -> transition
2021-03-11 08:19:33 +02:00
Jukka Kurkela
a4231486eb
helpers.curve cleanup ( #8608 )
...
* helpers.curve cleanup
* Use distanceBetweenPoints
2021-03-10 09:32:54 -05:00
Jukka Kurkela
d48a62a4e9
Add backgroundColor for scales ( #8606 )
...
* Add backgroundColor for scales
* Loosen the threshold
2021-03-10 08:18:10 -05:00
Jukka Kurkela
0c838432fc
Disable warning of unused variables in types/tests ( #8607 )
2021-03-10 08:13:04 -05:00
Ikko Ashimine
7dce94e820
Fix typo in linear.mdx ( #8605 )
...
minumum -> minimum
2021-03-10 09:23:05 +02:00
Jukka Kurkela
4c3e992657
RadialLinear: add padding option for point labels ( #8604 )
...
* RadialLinear: add padding option for point labels
* lint
* only resolve padding once
2021-03-10 08:40:22 +02:00
Jukka Kurkela
c27c27a081
Fix typo in auto package ( #8601 )
2021-03-09 20:05:41 +02:00
Jukka Kurkela
f7ebedc367
Scale: refactor drawTitle, add tests ( #8598 )
...
* Scale: refactor drawTitle, add tests
* CC, lint
* update
2021-03-09 08:35:43 -05:00
Evert Timberg
9a042672a7
Update scriptable tooltip context docs ( #8599 )
2021-03-09 08:08:50 -05:00
Jukka Kurkela
b005143470
scale.category: options.min/max can be index ( #8594 )
2021-03-09 08:08:36 -05:00
Jukka Kurkela
7ec99c38c1
Move startAngle to scale options ( #8593 )
2021-03-08 13:36:54 -05:00
Evert Timberg
275fdaf3da
Expose radial scale point label positions ( #8588 )
2021-03-07 16:58:45 -05:00
Jacco van den Berg
5a48604df7
Update legend.md ( #8582 )
...
Noticed from https://github.com/chartjs/Chart.js/issues/6185#issuecomment-748097030 that there is an option to get the legend in the chart, this was not documented. Only difference I noticed from kurkles screenshot is that the legend now shows in the middle instead of in the top corner.
https://jsfiddle.net/Leelenaleee/wszdv8q0/2/
2021-03-07 22:43:31 +02:00
Jukka Kurkela
160534f913
Add 'single'
mode for stacking ( #8586 )
...
* Add `'single'` mode for stacking
* Update fixture
2021-03-07 10:52:31 -05:00
Jukka Kurkela
7ccf9e2d4d
Add grace
option for linear scale ( #8581 )
...
* Add `grace` option for linear scale
* cc
2021-03-06 17:18:49 -05:00