Commit Graph

4364 Commits

Author SHA1 Message Date
Jacco van den Berg
a14f6cc1d1
update-react-to-v4 (#10930) 2022-12-09 09:11:13 -05:00
Dan Onoshko
8283ad5867
fix: move @kurkle/color to dependencies (#10917)
fixes #10915
2022-11-30 09:31:43 -05:00
Jacco van den Berg
8239567802
Allow color plugin to work with custom dataset controllers (#10904) 2022-11-25 15:03:49 +01:00
Jacco van den Berg
5fdc0f71af
Use UDM build for reproducible sample (#10919) 2022-11-25 08:03:51 -05:00
Dan Onoshko
80a931ebd3
docs: add info about ESM into migration guide. (#10903) 2022-11-25 12:31:14 +02:00
stockiNail
784216130a
Add stepSize option to time scale options types (#10910) 2022-11-24 07:47:17 -05:00
Kit PANG
667b28beca
fix: respect minBarLength in stacked bar chart (#10766) 2022-11-22 20:21:02 -05:00
stockiNail
36fb08c946
Sets the transition mode to the context for scriptable options (#10898) 2022-11-21 14:00:51 -05:00
Dan Onoshko
22f0dfe9a7
feat: colors for mixed charts (#10870) 2022-11-18 13:15:08 -05:00
Jacco van den Berg
9a9ff6fdbd
Pointstyle false (#10886)
* fix-#10755

* none to false

* str to bool

* str to bool

* 10/10

* fix test

Co-authored-by: puneetkathar1 <puneetkathar1@gmail.com>
Co-authored-by: Puneet Kathar <73285338+puneetkathar1@users.noreply.github.com>
2022-11-18 13:14:47 -05:00
Jacco van den Berg
934c14069f
update migration guide (#10885) 2022-11-18 19:39:58 +02:00
Jacco van den Berg
909c719331
Move border opts to correct location for samples (#10884) 2022-11-17 22:51:12 +01:00
Dan Onoshko
51441272a7
refactor: move to esm in sources (#10879) 2022-11-17 08:08:44 -05:00
Ben McCann
a6f118388f
fix: put types first in exports map (#10880) 2022-11-17 08:22:47 +02:00
Jacco van den Berg
c0fe7f9b05
Remove V3 support, update readme (#10872) 2022-11-15 20:14:15 +02:00
Jacco van den Berg
ae1365e1ed
Fix release (#10871)
* Update namespace

* fix release, bump version
2022-11-15 00:17:20 +01:00
Evert Timberg
11f3cf6361
v4.0.0 bump (#10868) 2022-11-13 21:16:32 +01:00
Jacco van den Berg
53b79673eb
Remove type attribute from dataset specific type specification (#10869) 2022-11-13 19:36:25 +02:00
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