What problem does it solve?
This Skill provides quick-access, copy-paste ready code snippets for common Chart.js v4.5.1 patterns, eliminating the need to search through extensive documentation for everyday tasks.
Core Features & Use Cases
- Data Formatting: Easily format axis labels for currency, percentages, or abbreviated numbers.
- Common Configurations: Quickly apply settings like hiding legends, starting axes at zero, or creating horizontal bar charts.
- Styling & Responsiveness: Apply pre-defined color palettes, adjust chart appearance, and manage responsiveness.
- Dynamic Updates & Events: Implement methods for updating chart data, handling clicks, and exporting charts.
- Tree-Shaking Imports: Provides correct import statements for various chart types to optimize bundle size.
Quick Start
Use the chartjs-quickref skill to get a code snippet for displaying currency labels on the y-axis of a Chart.js chart.