MCPcopy
hub / github.com/chartjs/Chart.js

github.com/chartjs/Chart.js @v4.5.1 sqlite

repository ↗ · DeepWiki ↗ · release v4.5.1 ↗
1,668 symbols 3,905 edges 738 files 451 documented · 27%
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

LegendElement (Interface)
(no doc) [3 implementers]
src/types/index.d.ts
DateAdapter (Interface)
(no doc) [2 implementers]
src/core/core.adapters.ts
ArrayListener (Interface)
(no doc) [1 implementers]
src/helpers/helpers.collection.ts
Context (Interface)
(no doc)
test/types/test_instance_assignment.ts
ColorsPluginOptions (Interface)
(no doc)
src/plugins/plugin.colors.ts
ArcProps (Interface)
(no doc)
src/elements/element.arc.ts
VisualElement (Interface)
(no doc) [2 implementers]
src/types/index.d.ts
RTLAdapter (Interface)
(no doc)
src/helpers/helpers.rtl.ts

Core symbols most depended-on inside this repo

getDatasetMeta
called by 317
src/core/core.controller.js
update
called by 252
src/types/layout.d.ts
getPixelForValue
called by 119
src/types/index.d.ts
valueOrDefault
called by 56
src/helpers/helpers.core.ts
getParsed
called by 47
src/core/core.datasetController.js
getValueForPixel
called by 46
src/types/index.d.ts
notifyPlugins
called by 45
src/core/core.controller.js
register
called by 44
src/types/index.d.ts

Shape

Method 771
Function 629
Interface 134
Class 132
Enum 2

Languages

TypeScript100%

Modules by API surface

src/types/index.d.ts297 symbols
src/core/core.scale.js85 symbols
src/core/core.datasetController.js81 symbols
src/core/core.controller.js80 symbols
src/plugins/plugin.tooltip.js58 symbols
src/scales/scale.radialLinear.js39 symbols
src/controllers/controller.bar.js38 symbols
src/core/core.config.js36 symbols
src/scales/scale.time.js33 symbols
src/plugins/plugin.legend.js33 symbols
src/helpers/helpers.core.ts28 symbols
src/helpers/helpers.config.ts27 symbols

Dependencies from manifests, versioned

@babel/core7.0.0 · 1×
@babel/plugin-syntax-flow7.14.5 · 1×
@babel/plugin-transform-react-jsx7.14.9 · 1×
@kurkle/color0.3.0 · 1×
@rollup/plugin-commonjs23.0.2 · 1×
@rollup/plugin-inject5.0.2 · 1×
@rollup/plugin-json5.0.1 · 1×
@rollup/plugin-node-resolve15.0.1 · 1×
@simonbrunel/vuepress-plugin-versions0.2.0 · 1×
@swc/core1.3.18 · 1×
@types/estree1.0.0 · 1×
@types/node18.7.6 · 1×

For agents

$ claude mcp add Chart.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact