Jacco van den Berg
39140cca2e
Remove the comparrison doc page ( #8709 )
2021-03-24 15:39:48 +02:00
Jacco van den Berg
8ed689877f
Update api.md ( #8701 )
...
Add clarification that you can pass type and quality options
2021-03-23 08:27:07 -04:00
Jukka Kurkela
9a0a509385
Update external tooltip docs ( #8674 )
2021-03-19 08:02:51 -04:00
Jacco van den Berg
180f1b941e
Docs/licence year update ( #8671 )
...
* Update license year
* Update docusaurus.config.js
update license year
* Update LICENSE.md
2021-03-19 09:09:55 +02:00
Jukka Kurkela
97136d0cbf
Add textAlign for legend labels ( #8665 )
...
* Add textAlign for legend labels
* Update tests
2021-03-18 07:37:03 -04:00
stockiNail
da50c97e07
Changes defaults in documentation, applied by PR 8657 ( #8660 )
2021-03-18 09:57:56 +02:00
Jukka Kurkela
0a579b6813
Add alignToPixles option for scales ( #8649 )
2021-03-16 08:41:51 -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
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
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
aae8a06c37
Update context documentation ( #8626 )
2021-03-13 08:05:57 -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
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
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
Evert Timberg
9a042672a7
Update scriptable tooltip context docs ( #8599 )
2021-03-09 08:08:50 -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
Jukka Kurkela
8d6e87881a
Relocate chart type and dataset type defaults ( #8563 )
...
* Relocate chart type and dataset type defaults
* Update types
* Separate overrides and descriptors
* Update derived sample, use merge for inherit
* Don't merge overrides
* Review update
2021-03-06 10:34:52 -05:00
Evert Timberg
279b6ae1da
Enable multi-line axis titles ( #8579 )
2021-03-06 10:18:32 -05:00
Evert Timberg
a23f1de6df
Rename scaleLabel to title in scale options ( #8576 )
2021-03-05 23:22:55 -05:00
Jacco van den Berg
33ff1fe059
update defaults in tooltip ( #8554 )
2021-03-02 08:59:10 +02:00
stockiNail
bc6ef46651
Fixes sample in the doc about missing animations configuration ( #8549 )
2021-03-01 15:06:01 -05:00
Evert Timberg
c5dcf5a20d
Update chart extension docs + add samples ( #8540 )
...
* Update docs on chart extensions
* Working sample for derived chart types
* Add derived axis example
* Remove duplicated line
2021-02-28 16:02:44 -05:00
Jukka Kurkela
9043325a6e
Provide auto-registering entry point ( #8429 )
2021-02-28 09:02:44 +02:00
Evert Timberg
d08eb147fc
Clarify interaction docs to indicate they apply to all interactions ( #8537 )
...
* Clarify interaction docs to indicate they apply to all interactions
* Update note on modes documentation to indicate interaction options exist
* Fix ytpo
2021-02-28 02:46:58 +02:00
Jacco van den Berg
9741942976
rename tooltip.custom property to tooltip.external ( #8523 )
...
* rename tooltip.custom property to tooltip.external
* Implement feedback
* missed 1
2021-02-27 18:18:12 +02:00
Jacco van den Berg
bd303f4a2c
Update wording in docs about merging options ( #8533 )
2021-02-26 14:57:34 -05:00
Ben McCann
7c75310a0c
Use null for skipped values instead of NaN ( #8510 )
...
* Use null for skipped values instead of NaN
* Document skipped values when parsing is false
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Update src/core/core.datasetController.js
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* fix lint issue
* use isFinite
* revert change checking for pixel values
* ternary readability
* revert accidental paren movement
* test with parsing: false
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2021-02-24 18:20:11 -05:00
Jukka Kurkela
12e9020ab7
Remove unused getRingIndex from Doughnut ( #8521 )
2021-02-24 18:13:51 -05:00
Jukka Kurkela
b06cd36697
Rename cutoutPercentage to cutout + chores ( #8514 )
2021-02-24 16:58:01 -05:00
Jukka Kurkela
65a601476c
Remove debug option from animation ( #8512 )
...
* Remove debug option from animation
* Add converage for visible animation
* Update visible animation fn
2021-02-24 21:32:54 +02:00
Jukka Kurkela
ee74dd646a
Add resizeDelay option ( #8509 )
...
* Add resizeDelay option
* Extract helper
2021-02-23 18:40:57 -05:00
Jacco van den Berg
99ca8334f8
data type is correct for all chart types ( #8504 )
...
* data type is correct for all chart types
* implement feedback
2021-02-23 15:30:57 -05:00
Ben McCann
f1471458c4
Perf docs: tension is now 0 by default ( #8500 )
2021-02-23 13:59:50 +02:00
Jukka Kurkela
311292da7e
Add linting of .mdx files + fix errors ( #8496 )
2021-02-22 08:53:13 -05:00
Jacco van den Berg
0c1320c2f9
Sample plugin in docs for canvas background ( #8492 )
...
* color done
* add example inline plugins for background image and color
* add link to css background
* improve text bit
* fix build error
* implement kurkles feedback
* fix indenting tab -> spaces
2021-02-22 08:52:57 -05:00
Evert Timberg
8c4e862a2c
Merge tooltip padding settings ( #8493 )
2021-02-22 08:30:25 +02:00