MCPcopy
hub / github.com/wa0x6e/cal-heatmap

github.com/wa0x6e/cal-heatmap @4.2.4 sqlite

repository ↗ · DeepWiki ↗ · release 4.2.4 ↗
233 symbols 652 edges 92 files 20 documented · 9%
README

Cal-Heatmap logo

Cal-HeatMap Coverage Status npm version node node

Cal-Heatmap is a javascript charting library to create a time-series calendar heatmap

This library will help you to chart a calendar heatmap, like the Github contribution calendar appearing on each github user's page, but with more features like:

  • 🔀 animated date navigation
  • ⏳ time interval customisation
  • 🗓️ full controls on the layout/UI
  • 🌐 locale and timezone support
  • ⚡ plugins system
  • 🖥️ broad browsers support
  • 🔚 right-to-left support
  • ♾️ and many more...

Github like Calendar Heatmap example Year/Day linear scale with legend Calendar Heatmap example Year/Day threshold scale with legend Calendar Heatmap example Month/Day alternate layout Calendar Heatmap example Month/Day weekdays only Calendar Heatmap example

See documentation website for full documentation and more examples.

License

Cal-Heatmap is licensed under a MIT License.

Extension points exported contracts — how you extend this code

IPlugin (Interface)
(no doc) [4 implementers]
src/index.d.ts
LegendOptions (Interface)
(no doc)
src/plugins/LegendLite.ts
IPluginContructor (Interface)
(no doc)
src/index.d.ts
CalendarLabelOptions (Interface)
(no doc)
src/plugins/CalendarLabel.ts
PluginOptions (Interface)
(no doc)
src/index.d.ts
PopperOptions (Interface)
(no doc)
src/plugins/Tooltip.ts
TooltipOptions (Interface)
(no doc)
src/plugins/Tooltip.ts
LegendOptions (Interface)
(no doc)
src/plugins/Legend.ts

Core symbols most depended-on inside this repo

paint
called by 102
src/CalHeatmap.ts
date
called by 47
src/helpers/DateHelper.ts
forEach
called by 42
src/calendar/DomainCollection.ts
slice
called by 31
src/calendar/DomainCollection.ts
get
called by 23
src/domain/DomainCoordinates.ts
intervals
called by 21
src/helpers/DateHelper.ts
fill
called by 19
src/CalHeatmap.ts
get
called by 19
src/TemplateCollection.ts

Shape

Method 144
Class 42
Function 37
Interface 8
Enum 2

Languages

TypeScript100%

Modules by API surface

src/calendar/DomainCollection.ts17 symbols
src/plugins/CalendarLabel.ts15 symbols
src/helpers/DateHelper.ts14 symbols
src/CalHeatmap.ts14 symbols
src/plugins/Tooltip.ts13 symbols
src/plugins/PluginManager.ts13 symbols
src/domain/DomainsContainerPainter.ts12 symbols
src/subDomain/SubDomainPainter.ts10 symbols
src/domain/DomainLabelPainter.ts10 symbols
src/plugins/LegendLite.ts9 symbols
src/calendar/CalendarPainter.ts9 symbols
src/plugins/PluginPainter.ts7 symbols

Dependencies from manifests, versioned

@babel/preset-env7.20.2 · 1×
@observablehq/plot0.6.0 · 1×
@popperjs/core2.11.6 · 1×
@rollup/plugin-babel6.0.3 · 1×
@rollup/plugin-commonjs25.0.0 · 1×
@rollup/plugin-json6.0.0 · 1×
@rollup/plugin-node-resolve15.0.1 · 1×
@rollup/plugin-replace5.0.1 · 1×
@rollup/plugin-terser0.4.0 · 1×
@rollup/plugin-typescript11.0.0 · 1×
@types/d3-color3.1.0 · 1×
@types/d3-fetch3.0.1 · 1×

For agents

$ claude mcp add cal-heatmap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact