Commit Graph

1121 Commits

Author SHA1 Message Date
Dan Onoshko
80a931ebd3
docs: add info about ESM into migration guide. (#10903) 2022-11-25 12:31:14 +02: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
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
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
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
Amin Cheloh
7410a3c30e
docs: fix typos (#10763) 2022-10-07 09:56:07 -04:00
wenzdey
1d6b8f3b44
Updated dead sample link (#10748)
* Updated dead sample link

* Updated option sample
2022-10-06 10:36:26 -04:00
Jacco van den Berg
dec3d2338f
Update namespace (#10719) 2022-09-28 07:54:58 +03: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
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
cc65c2bac2
Fix autoskip logic (#10663)
* fix autoskip logic

* add test

* fix lint erro

* Update variable name
2022-09-13 19:33:22 +02:00
Rupert B
1c9e536de2
Update line-boundaries.md (#10666)
Fixed broken link in docs
2022-09-13 19:32:48 +02:00
stockiNail
9871aaa262
Use ticks.steSize instead of time.stepSize on time and timeseries scales (#10653) 2022-09-10 18:46:26 +03:00
Dan Onoshko
0c51ecd451
fix: respect aspect ratio with container height (#10646)
* fix: respect aspect ratio with container height

* docs: add info into migration guide
2022-09-02 08:03:41 -04:00
Dan Onoshko
8ff853c60e
feat: remove default axis override when custom id is given (#10643)
* feat: remove default axis override when custom id is given

* docs: add info into migration guide

* test: fix tests for the feat

* docs: add info into migration guide

* test: fix tests for the feat

* feat: review fixes

* feat: review fixes
2022-09-02 07:52:48 +03:00
Dominic Jean
0edb2ac604
enable pointStyleWidth for all legend style (#10639) 2022-09-01 06:37:12 -04:00
Jacco van den Berg
818b933c92
Bump markdown-it in docs (#10632)
* bump dep

* regenerate lock with new pnpm
2022-08-31 16:46:23 +03:00
Jacco van den Berg
08a5c572e8
Update link to master umd build (#10645) 2022-08-31 08:24:21 +02:00
Devesh Pal
74f50df250
Fix broken link (#10640) 2022-08-29 17:02:08 -04:00
Dan Onoshko
f957aad352
docs: fix images loading (#10621)
* docs: fix images loading

* docs: temporary restore configureWebpack

* docs: rm html-webpack-plugin
2022-08-23 15:30:03 +02:00
Jukka Kurkela
1d6b8cc047
Document components for bundle optimization (#10569)
* Update integration.md

* Update integration.md

* Fix typo

* Another typo

* Update docs/getting-started/integration.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update docs/getting-started/integration.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* review update

* version

Co-authored-by: Rich Lott <artfulrobot@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-08-23 08:41:20 +03:00
Jacco van den Berg
432d1e6a60
move option to correct namespace (#10613)
* move option to correct namespace

* change plugin name from snake_case to camelCase
2022-08-22 22:44:04 +02:00
Jacco van den Berg
3c33d87dd2
Remove tooltip constructor fallbacks, this.chart and this._chart (#10612)
* remove tooltip fallbacks/backwards compatability in constructor

* increase size limit
2022-08-22 21:17:40 +02:00
Jacco van den Berg
fc8a63e26b
fix lint in docs (#10611) 2022-08-22 21:00:26 +02:00
Ben McCann
9258f250b6
Switch to pnpm (#10576) 2022-08-22 20:42:43 +02:00
Jacco van den Berg
96633cc0f6
Documentation: how to add static typing to plugins (#10607)
* Add documentation on how to add static typing to plugins

* make the options optional

* Fix syntax
2022-08-22 21:20:35 +03:00
Dan Onoshko
2031cdf051
Preparing the project for TypeScript (#10595)
* Add Typescript to the build
* Converts the `helpers.core` to Typescript as an example
* Converts the `core.element` to Typescript
2022-08-22 11:58:57 -04:00
Jacco van den Berg
3eb947719e
Put the border opts in own object (#10571)
* put borderOpts in own object

* document z option

* remove todo and change scaleId to id

* update some tests

* clean bit, remove console log

* fix failing test

* lint

* Remove comment
2022-08-18 15:07:46 +02:00
Dan Onoshko
e7372ade24
fix: same-looking tooltips on charts (#10548)
* fix: same-looking tooltips on multiseries charts

* fix: same-looknig tooltips on all chart types

* chore: restore tooltip plugin

* docs: additions to migration guide

* docs: remove labels from scatter and bubble examples

* docs: review fix
2022-08-18 07:34:35 -04:00
Jacco van den Berg
d09e424a0a
Use borderRadius for legend and remove fallbacks (#10551)
* Use borderRadius for legend

* re enable test

* fix lint

* add note in migration guide

* Update types/index.d.ts

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2022-08-18 07:34:18 -04:00
Jacco van den Berg
c74260b745
change way that linear scales calculate min and max (#10591) 2022-08-18 07:33:15 -04:00
Dan Onoshko
ffce0f9f18
feat: tooltip callbacks fallback (#10567)
* feat: tooltip callbacks fallback

* docs: review fixes
2022-08-18 09:03:12 +03:00
Jacco van den Berg
3df687a87c
Remove destroy hook (#10549)
* remove destroy hook

* revert package-lock.json changes

* update test

* add migration guide note

* fix karma failing test

* change way of importing package.json
2022-08-05 19:51:14 +03:00
Jukka Kurkela
29395d9013
Fix docs build (#10566) 2022-08-05 08:02:04 -04:00
Dan Onoshko
b19fc0169f
fix: pass timestamp to ticks callback (#10540)
* fix: pass timestamp to ticks callback
* docs: edit labelling page
* docs: additions to the migration guide
2022-08-05 07:59:36 -04:00
Dan Onoshko
ce375a6876
feat: add ESM support (#10525)
* feat: add ESM support

* build: rename UMD bundle

* chore: edit supbackages description

* style: disable es/no-import-meta linter rule

* test: dynamic import in cjs module

* docs: edit integrations page

* docs: review fixes

* chore: remove useless regex in webpack config

* ci: test size-limit only for ESM bundle
2022-08-04 18:43:26 -04:00
Dan Onoshko
a4de430d99
fix: treeshaking (#10504)
* fix: treeshaking
* refactor: DatasetController.datasetElementType and DatasetController.dataElementType as static props
2022-08-04 09:17:40 -04:00
Jacco van den Berg
9dfaa63639
Move parameter of TType in ChartMeta to first option (#10550)
* move paramter of TType in ChartMeta to first option

* add missing ChartMeta change

* Add note in migration guide
2022-08-04 01:06:15 +02:00
Jacco van den Berg
beaf370cc5
Bug/Radial linear scale grid get correct options at index (#10010)
* get correct options for index

* update test

* add initial migration guide
2022-08-03 02:32:02 +02:00
Ben McCann
6feb48b5ef
Allow ESM files to be used in Node.js (#10479)
Allow ESM files to be used in Node.js
2022-07-30 11:25:23 -04:00