MCPcopy Create free account
hub / github.com/chartjs/Chart.js

github.com/chartjs/Chart.js

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.6.3 ↗ · + Follow · compare 4 versions

Simple HTML5 Charts using the <canvas> tag

1,879 symbols 4,560 edges 769 files 474 documented · 25% ● updated 7d ago★ 67,861442 open issues

Browse by type

⨍ Functions 1,573◇ Types & classes 306
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

https://www.chartjs.org/

Simple yet flexible JavaScript charting for designers & developers

<a href="https://www.chartjs.org/docs/latest/getting-started/installation.html"><img src="https://img.shields.io/github/release/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Downloads"></a>
<a href="https://github.com/chartjs/Chart.js/actions?query=workflow%3ACI+branch%3Amaster"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/chartjs/Chart.js/ci.yml?branch=master&style=flat-square"></a>
<a href="https://coveralls.io/github/chartjs/Chart.js?branch=master"><img src="https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600" alt="Coverage"></a>
<a href="https://github.com/chartjs/awesome"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome"></a>
<a href="https://discord.gg/HxEguTK6av"><img src="https://img.shields.io/badge/discord-chartjs-blue?style=flat-square&maxAge=3600" alt="Discord"></a>

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.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 795
Function 778
Class 152
Interface 152
Enum 2

Languages

TypeScript100%

Modules by API surface

src/types/index.ts297 symbols
src/core/core.scale.js85 symbols
src/core/core.datasetController.js85 symbols
src/core/core.controller.js85 symbols
src/plugins/plugin.tooltip.js63 symbols
src/controllers/controller.bar.ts46 symbols
src/plugins/plugin.legend.ts41 symbols
src/core/core.config.js41 symbols
src/scales/scale.radialLinear.js39 symbols
src/scales/scale.time.js33 symbols
src/helpers/helpers.core.ts31 symbols
src/helpers/helpers.config.ts28 symbols

Dependencies from manifests, versioned · 12 of 64, runtime first

chart.jsworkspace:* · 1×
web-vitals2.1.4 · 1×
@babel/core7.0.0 · 1×
@babel/plugin-syntax-flow7.14.5 · 1×
@babel/plugin-transform-react-jsx7.14.9 · 1×
@kurkle/color0.6.6 · 1×
@types/node18.7.6 · 1×
@types/react18.0.17 · 1×
@types/react-dom18.0.6 · 1×
react18.2.0 · 1×
react-dom18.2.0 · 1×
react-scripts5.0.1 · 1×

For agents

$ claude mcp add --transport http codehub https://codehub.bot/mcp

One hosted endpoint, no key: your agent can search, read and trace chartjs/Chart.js and every other graph here. Cursor, Windsurf and other clients →

⬇ download graph artifact

Ask about this repo answers extend the page