t-mangoe
63993b03b1
check the data set type in DoughnutController ( #10867 )
2022-11-12 15:41:21 -05:00
Richard Gibson
89487501b6
fix: Always draw full arcs and borders for doughnut slices ( #10806 )
...
* test: Add a failing test for single-slice doughnut with offset
* fix: Always draw full arcs and borders for doughnut slices
Fixes #10801
* test: Update existing image
2022-11-12 21:47:08 +02:00
Igor Lukanin
69175847ef
Updated docs (why Chart.js + getting started + step-by-step guide) ( #10816 )
...
* Update docs
* Minor fixes
* Replace screenshots with live demos
* Replace the last screenshot with a live demo
* Bring back images
* Bring back images #2
* Remove unnecessary files
* Apply suggestions from code review
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* Very last tiny fixes
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-11-11 16:37:13 -05:00
Dan Onoshko
718f46095a
docs: notes about html legend, tooltip and title ( #10857 )
...
* docs: notes about html legend, tooltip and title
* Update docs/configuration/legend.md
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* Update docs/configuration/tooltip.md
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* docs: notes about html legend, tooltip and title fix
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-11-07 19:49:47 -05:00
stockiNail
5a90b71163
Fix the missing apply for the color on the legend labels ( #10855 )
...
* Fix the missing apply for the color on the legend labels
* apply review
2022-11-04 18:55:27 -04:00
stockiNail
b271b5098a
Enable colors plugin for pie charts ( #10851 )
...
* Enable colors plugin for pie charts
* fixes CC
2022-11-04 11:17:49 -04:00
Lucca Miranda
24745fac51
refactor: migrate helpers.options to typescript ( #10753 )
...
* refactor: migrate helpers.options to typescript
* chore: nitpicks
2022-11-04 11:17:09 -04:00
Jacco van den Berg
3fea72e81c
Alternative remove docs from publish ( #10844 )
...
* Update namespace
* alternative approach
* test-ignore
2022-11-01 15:54:03 +01:00
Kevin Zhu
8a29ebab6f
Fix month ( #10826 )
2022-10-28 01:17:05 +02:00
Puneet Kathar
ae1a720e83
Grammar error fixes ( #10827 )
...
* Grammar error fixes
* Update .size-limit.cjs
2022-10-26 07:59:25 -04:00
Jacco van den Berg
b969ae3d8d
Update example chart config type, remove whitespace ( #10831 )
...
* Update example chart config type, remove whitespace
* update size limit
2022-10-26 11:24:32 +02:00
Jacco van den Berg
3557559004
Bump alpha 3 ( #10822 )
2022-10-24 07:44:29 +02:00
Andrew Dawes
64014919fc
Made some grammar fixes ( #10820 )
2022-10-22 19:44:32 +03:00
Igor Lukanin
1c2f66a00e
Introduce Colors plugin ( #10764 )
...
Introduces a colors plugin that provides a color palette
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-10-21 08:21:08 -04:00
Jacco van den Berg
005aa45c32
Fix broken links ( #10812 )
2022-10-19 19:59:35 +03:00
Philippe Jaubert
b5f5f468d3
Update tooltip.md ( #10813 )
...
Fixed spawn closes before its content.
2022-10-19 15:13:34 +02:00
Ian Webster
ca326b75e7
docs: Fix typo ( #10811 )
...
Remove an extra word on https://www.chartjs.org/docs/latest/developers/publishing.html
2022-10-19 08:13:28 -04:00
Rich
6b357a5965
docs: Fix typos ( #10809 )
...
* Spell "corresponding" correctly
* Spell "circle" correctly
* Spell "configuration" correctly
2022-10-19 14:02:20 +02:00
Jukka Kurkela
c35d0c6e48
rename jasmine failFast -> stopOnSpecFailure ( #10804 )
2022-10-17 22:59:54 +03:00
Jonatan
f5cb133551
fix: label text not centered when applied rotation ( #10773 )
...
* fix: label text not centered on tick when rotated
#10485
* fix: label text not centered on tick when rotated
#10485
2022-10-17 21:28:31 +03:00
dependabot[bot]
3ecda1c7c5
Bump pnpm/action-setup from 2.2.2 to 2.2.4 ( #10800 )
...
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup ) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v2.2.2...v2.2.4 )
---
updated-dependencies:
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 21:25:41 +03:00
Jacco van den Berg
c849b7bc1d
Bump alpha 2 ( #10790 )
2022-10-12 18:59:56 +02:00
Jacco van den Berg
0b54338d7f
Remove setting of version in package-lock since it does not exist and pnpm-lock does not have it ( #10789 )
2022-10-12 09:25:04 -04:00
Jacco van den Berg
02a7bdbf80
Bump alpha v4 ( #10787 )
...
* Update namespace
* bump alpha
2022-10-12 07:16:03 -04:00
Evert Timberg
c338942ebb
Convert the Arc element to TS ( #10772 )
...
* Convert the Arc element to TS
* Make max-statements and complexity warnings in TS files as well
* Increase size limit
* Update src/elements/element.arc.ts
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
2022-10-12 07:08:37 -04:00
cmcnulty
fbf3427ca2
Fix #10749 - backdrops with rotated labels ( #10759 )
...
* Fix #10749 - backdrops with rotated labels
* remove translation adjustment
Because backdrop now occurs after translation, we don't want to double-adjust the position.
* increase tolerance slightly due to anti-aliasing
Co-authored-by: Charles McNulty <charles.mcnulty@tasconline.com>
2022-10-12 07:08:22 -04:00
Lucca Miranda
b0160e138a
refactor: migrate helpers.dom to typescript ( #10734 )
2022-10-09 09:21:12 -04:00
Amin Cheloh
7410a3c30e
docs: fix typos ( #10763 )
2022-10-07 09:56:07 -04:00
Evert Timberg
41612d1320
Convert the curve helpers to TS ( #10733 )
...
* Convert the curve helpers to TS
* Remove old type
2022-10-07 08:28:24 -04:00
Evert Timberg
06bbadb00f
Convert the PointElement to TS ( #10730 )
...
Co-authored-by: Chart.js <>
2022-10-07 08:28:03 -04:00
Brainshaker95
813943ac72
Types: Change grid option of CartesianScaleOptions and RadialLinearScaleOptions to Partial of GridLineOptions ( #10760 )
2022-10-07 07:36:57 +03:00
Jacco van den Berg
72b185afa6
Allow to configure X and Y axis ID in TS for bubble charts ( #10739 )
...
* Update namespace
* Allow for x and y axisId to be passed to bubbledataset controller
2022-10-06 22:41:51 +03:00
Evert Timberg
e6892a92cb
Convert helpers.extra to TS ( #10728 )
...
Co-authored-by: Chart.js <>
2022-10-06 15:37:42 -04:00
wenzdey
1d6b8f3b44
Updated dead sample link ( #10748 )
...
* Updated dead sample link
* Updated option sample
2022-10-06 10:36:26 -04:00
stockiNail
c51d697d7f
Use the correct area to clip for dataset drawing when stacked scales are used ( #10691 )
...
* Use the correct area to clip when stacked scales are used
* adds test cases
* fix CI issue
* apply review
* Update .size-limit.cjs
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-10-01 21:26:45 +03:00
Evert Timberg
740ae60db0
Export declare const enums ( #10729 )
...
Co-authored-by: Chart.js <>
2022-09-30 16:13:35 -04:00
Luciano Santana
6f4b365d8b
Types: Export UpdateModeEnum as const ( #10726 )
...
Co-authored-by: Luciano Santana <contacto@lucianosantana.net>
2022-09-30 11:15:59 -04:00
Dan Onoshko
d1e118aea8
refactor: move batch of helpers to ts ( #10722 )
...
* refactor: move batch of helpers to ts
* refactor: review fixes
2022-09-30 09:48:12 -04:00
Dan Onoshko
52cf8e8a94
fix: aspect ratio calc ( #10693 )
2022-09-28 15:31:19 -04:00
Jacco van den Berg
dec3d2338f
Update namespace ( #10719 )
2022-09-28 07:54:58 +03:00
Jacco van den Berg
dea889b980
Add defaults to plugin interface ( #10712 )
2022-09-27 13:39:48 +02:00
Jacco van den Berg
b6322f3ab5
add ts explanation and unify display of snipets ( #10708 )
2022-09-27 13:39:35 +02:00
Jacco van den Berg
fbaf28e4f8
Use guard clause typings ( #10683 )
...
* Use guard clasue
* use function type instead of build in function
2022-09-27 14:00:48 +03:00
Jacco van den Berg
5f37ba6fc4
Add warning if filler plugin is used but not registered ( #10702 )
...
* add warning if filler plugin is used but not registered
* fix lint
* increase size limit
* add test, only put warning in dataset controller
* fix register in docs, remove commented code
* remove other mr
* add documentation
* Apply suggestions from code review
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Also return false if plugin is disabled by options
* improve warning message
* undo docs changes
* update test
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2022-09-26 20:20:54 +02:00
Jacco van den Berg
a8b7def547
Exclude dist folder form linting ( #10701 )
2022-09-24 23:21:17 +02:00
Dan Onoshko
22f32af1bc
fix: calc visible points on update ( #10667 )
2022-09-24 17:01:47 -04:00
Kartik
1253ceddb1
FIX: render multiline legend items without overlapping ( #10532 ) ( #10641 )
...
* FIX: render multiline legend items without overlapping (#10532 )
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Extract method to fix codeclimate line count
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Shift helper methods from class to module scope
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* TST: Add test with fixtures
Co-authored-by: kartik <codebull707@gmail.com>
* FIX: Fix test case for multiline label
Co-authored-by: kartik <codebull707@gmail.com>
* 10532-ENH: Calculate legend item width for multiline labels
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-TST: use spriteText and non-empty labels for test
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: failing test case due to legendItem.text being undefined
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: Update compression size
Co-authored-by: kartik <codebull707@gmail.com>
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
2022-09-16 09:46:53 -04:00
stockiNail
d4e106cc9c
Provide an empty object when the target of the resolver is undefined ( #10655 )
...
* Provide an empty object when the target of the proxy is undefined
* changes check on subGetTarget function
* adds test case
* fixes lint
2022-09-15 12:12:35 -04:00
Dan Onoshko
47cb9e1f76
feat: typescript node next support ( #10661 )
2022-09-14 06:44:57 -04:00
Jacco van den Berg
cc65c2bac2
Fix autoskip logic ( #10663 )
...
* fix autoskip logic
* add test
* fix lint erro
* Update variable name
2022-09-13 19:33:22 +02:00