Commit Graph

4236 Commits

Author SHA1 Message Date
Peter Hauke
02ad43a5cc
Fix Stack Overflow tag: chart.js (#10522)
* Fix Stack Overflow tag: chart.js

The same fix as accepted in: #10520

The correct Stack Overflow tag name is chart.js and not chartjs

* Fix Stack Overflow tag: chart.js

The same fix as accepted in: #10520

The correct Stack Overflow tag name is chart.js and not chartjs
2022-07-27 20:17:01 +02:00
Peter Hauke
c694d97690
Fix Stack Overflow tag: chart.js (#10520) 2022-07-27 17:15:55 +02:00
Jukka Kurkela
a4114e84d9
parsing: support dot(s) in object keys (#10517) 2022-07-26 08:30:52 -04:00
stockiNail
144a6c0c27
Enable borderDash option in the grid as scriptable (#10519) 2022-07-26 08:28:15 -04:00
Jacco van den Berg
de3596d4af
Fix dead link on reload or open in new tab (#10515)
* make link work in github itself

* fix dead link on reload or new tab
2022-07-25 15:45:52 +03:00
M4sterShake
3c56061622
Clarifying threshold requirement in the docs for decimation (#10516)
Co-authored-by: Max Borkowski <max.borkowski@lexisnexisrisk.com>
2022-07-25 15:44:17 +03:00
Evert Timberg
26e70b7608
Explicitly include package.json files for subpackages (#10513)
Remove redundant permissions on release CI to prevent a failure
Bump version to v3.8.2

Co-authored-by: Chart.js <>
2022-07-24 14:42:33 -04:00
Evert Timberg
aa4507d222
Bump to 3.8.1 (#10509) 2022-07-24 11:38:49 -04:00
Jukka Kurkela
9ba4480974
Resolve plugin defaults for local plugins (#10484) 2022-07-24 17:56:48 +03:00
Jacco van den Berg
8ccff8cad7
draw tooltip with object borderwidth (#10489) 2022-07-20 19:25:47 +02:00
Jacco van den Berg
341f903f5b
document defaults for plugins (#10490) 2022-07-20 18:53:14 +02:00
Jacco van den Berg
eeba91e0de
make link work in github itself (#10497) 2022-07-20 12:51:50 -04:00
Jacco van den Berg
1a1e68380f
Improve error message with id of the canvas (#10495)
* improve error message with id of the canvas
* update test
2022-07-20 12:51:34 -04:00
Jacco van den Berg
97351d1b5d
update typing of clip, allow it to be configurable in the options for typescript (#10494) 2022-07-20 12:51:22 -04:00
dependabot[bot]
ffa24628b5
Bump terser from 4.8.0 to 4.8.1 (#10493)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 12:51:10 -04:00
Dominic Jean
5452502b8c
Add pointStyleWidth option for legend (#10412)
* add pointStyleWidth for legend

* add drawPointLegend to keep drawPoint signature
2022-07-18 06:49:08 -04:00
Igor Lukanin
1ccafe7d8f
Add a stale version warning + a link to the latest version of docs (#10446)
* Add a stale version warning + a link to the latest version of docs

* Update docs/.vuepress/config.js

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>

* Shorten the warning

* Revert master title

* Revert master title

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-07-18 06:48:41 -04:00
dependabot[bot]
59a2d53178
Bump moment from 2.29.2 to 2.29.4 (#10471)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 07:53:32 -04:00
Jacco van den Berg
3fe5811648
Lint before build & test, remove lint from test (#10462)
* Lint before build & test, remove lint from test
* should reconize test now
* test skip build in test step
* readd build step
2022-07-07 07:15:54 -04:00
Andrew Lyndem
cf6e1d2354
Update integration.md (#10470)
Fixed grammatical error on line 93
2022-07-07 07:15:09 -04:00
Jacco van den Berg
7432b609c4
Add dependencie updates under the development part in release drafter (#10445) 2022-06-29 10:41:13 -04:00
Jukka Kurkela
7a13906114
Fix options update when changing to shared opts (#10451) 2022-06-29 16:44:51 +03:00
Igor Lukanin
88f9665954
Enforce maximum width on chart editor blocks in the docs (#10447)
* Enforce max width on chart editor blocks

* Shrink the chart view rather than the whole chart editor
2022-06-29 16:38:00 +03:00
Jukka Kurkela
e3b2b52790
Fix crash with skipNull and uneven datasets (#10454) 2022-06-29 07:46:48 -04:00
Jukka Kurkela
58e736a0b9
Update aspectRatio documentation (#10456) 2022-06-29 07:46:00 -04:00
Jacco van den Berg
0312697f38
Add index to legendItem interface (#10436)
* Add index to legendItem interface for doughnut, pie and polarArea charts. Make datasetIndex optional since the before named charts dont include it.

* Remove test to check if datasetIndex has been set in generateLabels function for legend
2022-06-22 09:22:53 -04:00
Brian Ball
8ee0c5c9b4
Update responsive.md (#10415)
* Update responsive.md

* Update docs/configuration/responsive.md

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2022-06-22 15:22:31 +02:00
Jacco van den Berg
954ed953a5
Respect fill: false with custom draw times (#10414)
* Resolve canvasgradient is not defined in node
* Remove trailing white space
* export isPaternOrGradient helper with typings
* fix lint failure, single qoute
* Respect `fill: false` with custom draw times
* correctly listen to fill property
* remove console log and lint errors
* implement feedback, still update control points
2022-06-22 07:41:18 -04:00
Jacco van den Berg
3c3d53be5e
clarify helpers need to be imported when using bundlers (#10434) 2022-06-22 08:09:02 +02:00
dependabot[bot]
68379db1ea
Bump actions/setup-node from 2 to 3 (#10431)
* Bump actions/setup-node from 2 to 3

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/ci.yml

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>

* Update .github/workflows/deploy-docs.yml

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evert Timberg <evert.timberg@gmail.com>
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
2022-06-21 07:13:18 +03:00
dependabot[bot]
4037c1c2ed
Bump actions/checkout from 2 to 3 (#10430)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 07:54:06 -04:00
Naveen
b19b3d7c3d
chore: Included githubactions in the dependabot config (#10423)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-20 07:13:52 +03:00
Naveen
0616868959
chore: Set permissions for GitHub actions (#10399)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-13 10:25:56 -04:00
Hossein Pourbahrami
b52507b5c7
Typo fix (#10410) 2022-06-08 07:51:17 -04:00
Jacco van den Berg
f796c7b475
Add padding to pointLabels type, add type to scriptable context (#10404)
* Add padding to pointLabelTypings and add type field to context

* Use correct scriptable helper

* Remove trailing space
2022-06-07 15:59:41 +03:00
stockiNail
a0609d77ff
Fix default value of 'includeInvisible' option in the documentation (#10400) 2022-06-06 10:04:33 -04:00
dependabot[bot]
8dd8760f1b
Bump eventsource from 1.1.0 to 1.1.1 (#10393)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 07:04:48 +03:00
Jacco van den Berg
7b01d33fed
clarify api docs (#10392) 2022-06-01 14:38:39 -04:00
Jacco van den Berg
2486fe2b1e
Allow for each dataset to be individually typed without a main type (#10387)
* allow for each dataset to be individually typed without a main type
* fix lint issues
* add extra test cases
2022-05-31 14:01:39 -04:00
Jacco van den Berg
1a1151b122
Bump to 3.8.0 (#10377) 2022-05-25 10:06:57 -04:00
Jacco van den Berg
5173d05978
Types: Allow font to be partial scriptable and individually scriptable (#10364)
* allow font scriptable to return partial object and be scriptable
* add other elements as scriptable
* rename variable for context to resolve lint issue
* add duplicate font for non scriptable
* change to scriptableOptions
* fix parameter
* missing space
* Change name of helper function to match other helper function
2022-05-25 07:49:12 -04:00
Yiwen Wang
ebcaff15c2
Add option to include invisible points (#10362)
* Add option to include invisible points

* Minor fixes

* Add doc for newly added option

* Fix typo

* Add test for newly added option

* Improve description of the new option

* Update docs/configuration/interactions.md

Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>

Co-authored-by: Yiwen Wang 🌊 <yiwwan@microsoft.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
2022-05-25 13:25:27 +03:00
Evert Timberg
cf780a5db5
Update to v0.2.1 color dependency to fix bug with invalid colours (#10371)
* Update to v0.2.0 color dependency to fix bug with invalid colours
* v0.2.1
2022-05-23 12:51:17 -04:00
Evert Timberg
3c0a71a3fc
Coveralls no longer runs on Windows CI (#10367) 2022-05-22 13:15:34 -04:00
Jacco van den Berg
1422c93dc0
Update scale polarArea correctly on data hide (#10340)
* give correct range back for polarArea
* added test
* tab to spaces
2022-05-22 09:50:32 -04:00
linkviii
4183b7f04a
Add links to docs in all the samples (#10308) 2022-05-21 11:02:13 -04:00
Kyle J
4eb65c014a
Correct auto.esm.js import to allow use directly from the browser 2022-05-11 10:52:29 -04:00
Jacco van den Berg
8ac3cc2191
Remove test job from windows runner (#10345)
* Remove test stop from windows runner

* consistent formatting
2022-05-08 20:19:41 +03:00
t-mangoe
d573dfb63e
display tooltips only at points in chart area (#10289)
* show only points in chart area

* use the _isPointInArea helper function
2022-05-07 10:43:47 -04:00
Jacco van den Berg
2c268f0943
Resolve canvasGradient is undefined in node (#10328)
* Resolve canvasgradient is not defined in node

* Remove trailing white space

* export isPaternOrGradient helper with typings

* fix lint failure, single qoute

* Allow for string inputs too to function
2022-05-03 08:21:43 -04:00