common-patterns
CommunityStandard patterns for Vue-Chrts charts.
Authordennisadriaans
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide provides standardized patterns and best practices to streamline chart development with vue-chrts. It helps teams maintain consistent data formatting, styling, and configuration across multiple chart types.
Core Features & Use Cases
- The Categories Object Pattern: Define categories for each data key with a display name and color to ensure consistent legends and color usage.
- Formatter Functions: Use xFormatter, yFormatter, and tooltipTitleFormatter to control axis labels and tooltips with correct data access patterns.
- Common Styling Props: Leverage shared props like xLabel, yLabel, legendPosition, tooltip, and padding to achieve a cohesive look and behavior across charts.
- Responsive & TypeScript Generics: Build responsive charts with type-safe data access using TypeScript generics.
- Color Guidance & Performance: Follow recommended palettes and performance tips to keep dashboards fast and visually consistent.
- Debugging & Best Practices: Follow a simple checklist to resolve common issues in data mapping, legends, and tooltips.
Quick Start
Apply the common-patterns guidelines to standardize categories, formatters, and styling across all charts.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: common-patterns Download link: https://github.com/dennisadriaans/vue-chrts/archive/main.zip#common-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.