Simple HTML5 Charts using the tag
Go to file
Josh Kelley 429d99dbc2
Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596)
* Fix for getLabelAndValue on null controller

I encountered #11315 under the following circumstances:

1. Position the cursor over the chart area, such that it causes a
   tooltip to be shown.
2. Move the cursor out of the chart area, such that the tooltip remains
   visible.
3. Cause the chart contents to be changed, such that the dataset
   referenced by the active tooltip element is no longer valid.
4. Move the mouse again.  This triggers an `inChartArea = false` event,
   so it reuses the previous, now invalid, active elements.

This fixes #11315 under the circumstances for which I've reproduced it,
but there may be others.

* Further fixes for elements added / changed

This possibly fixes #11365.
2023-11-29 14:51:56 -05:00
.github Replace deprecated command with environment file (#11570) 2023-11-06 18:35:20 +01:00
auto Specify module for Webpack 4 (#11037) 2023-01-10 12:01:59 -05:00
docs Fix migration docs links (#11562) 2023-10-30 08:48:10 -04:00
helpers Specify module for Webpack 4 (#11037) 2023-01-10 12:01:59 -05:00
scripts Fix docs build (#10566) 2022-08-05 08:02:04 -04:00
src Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596) 2023-11-29 14:51:56 -05:00
test Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596) 2023-11-29 14:51:56 -05:00
.browserslistrc Drop legacy browser support (#8009) 2020-11-16 21:01:33 +02:00
.codeclimate.yml Refactor radialLinear scale and renderText helper (#9276) 2021-06-18 14:12:27 -04:00
.editorconfig Update .editorconfig and fix conf indents (#8442) 2021-02-17 08:11:40 -05:00
.eslintignore Add integration test(s) for Web (#10563) 2022-08-07 13:25:11 -04:00
.eslintrc.yml Convert the Arc element to TS (#10772) 2022-10-12 07:08:37 -04:00
.gitignore fix: move types to src dir to escape src / dist dirs in paths (#10993) 2022-12-16 07:56:06 -05:00
.htmllintrc Make Chart.Animation/animations/Tooltip importable (#5382) 2018-04-02 10:55:52 +02:00
.size-limit.cjs Update size limits (#11302) 2023-05-20 00:40:37 +02:00
composer.json Use HTTPS instead of HTTP for URLs supporting it 2018-12-17 07:50:02 +01:00
karma.conf.cjs Disable canvas acceleration in Firefox 110 in test cases (#11165) 2023-02-26 14:19:44 +02:00
LICENSE.md update link to license and bump license year (#10156) 2022-02-13 11:27:29 -05:00
MAINTAINING.md Patch release workflow (#8815) 2021-04-04 07:04:56 -04:00
package.json Bump 4.4.0 (#11461) 2023-08-24 08:34:45 -04:00
pnpm-lock.yaml chore: change pnpm version in engines field to be able to use 8.x.x (#11209) 2023-03-29 11:00:29 -04:00
pnpm-workspace.yaml Switch to pnpm (#10576) 2022-08-22 20:42:43 +02:00
README.md Switch to discord (#11318) 2023-05-31 20:02:58 +02:00
rollup.config.js feat: restore commonjs bundle (#10984) 2022-12-16 01:11:11 +02:00
tsconfig.json fix: move types to src dir to escape src / dist dirs in paths (#10993) 2022-12-16 07:56:06 -05:00

https://www.chartjs.org/
Simple yet flexible JavaScript charting for designers & developers

Downloads GitHub Workflow Status Coverage Awesome Discord

Documentation

All the links point to the new version 4 of the lib.

In case you are looking for an older version of the docs, you will have to specify the specific version in the url like this: https://www.chartjs.org/docs/2.9.4/

Contributing

Instructions on building and testing Chart.js can be found in the documentation. Before submitting an issue or a pull request, please take a moment to look over the contributing guidelines first. For support, please post questions on Stack Overflow with the chart.js tag.

License

Chart.js is available under the MIT license.