jwebmp-chartjs
Chart.js integration for JWebMP providing simple yet flexible charting. Supports line, bar, radar, doughnut, pie, polar area, bubble, and scatter charts with responsive design, animations, and plugins. Use when working with Chart.js, creating simple charts, building dashboards, or implementing lightweight charting in JWebMP applications.
Best use case
jwebmp-chartjs is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Chart.js integration for JWebMP providing simple yet flexible charting. Supports line, bar, radar, doughnut, pie, polar area, bubble, and scatter charts with responsive design, animations, and plugins. Use when working with Chart.js, creating simple charts, building dashboards, or implementing lightweight charting in JWebMP applications.
Teams using jwebmp-chartjs should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/jwebmp-chartjs/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How jwebmp-chartjs Compares
| Feature / Agent | jwebmp-chartjs | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Chart.js integration for JWebMP providing simple yet flexible charting. Supports line, bar, radar, doughnut, pie, polar area, bubble, and scatter charts with responsive design, animations, and plugins. Use when working with Chart.js, creating simple charts, building dashboards, or implementing lightweight charting in JWebMP applications.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# JWebMP Chart.js
Chart.js integration for JWebMP providing simple yet flexible charting.
## Core Features
- **8 Chart Types** — Line, Bar, Radar, Doughnut, Pie, Polar Area, Bubble, Scatter
- **Responsive** — Auto-resize to container
- **Animations** — Smooth chart animations
- **Plugins** — Extensible plugin system
- **Mixed Charts** — Combine chart types
- **Accessibility** — Screen reader support
## Quick Start
### Line Chart
```java
ChartJS lineChart = new ChartJS()
.setType(ChartType.LINE)
.setData(new ChartData()
.setLabels(List.of("Jan", "Feb", "Mar", "Apr", "May", "Jun"))
.setDatasets(List.of(
new Dataset()
.setLabel("Sales 2024")
.setData(List.of(12, 19, 3, 5, 2, 3))
.setBorderColor("rgb(75, 192, 192)")
.setTension(0.1)
)))
.setOptions(new ChartOptions()
.setResponsive(true)
.setMaintainAspectRatio(true));
```
### Bar Chart
```java
ChartJS barChart = new ChartJS()
.setType(ChartType.BAR)
.setData(new ChartData()
.setLabels(List.of("Red", "Blue", "Yellow", "Green", "Purple", "Orange"))
.setDatasets(List.of(
new Dataset()
.setLabel("# of Votes")
.setData(List.of(12, 19, 3, 5, 2, 3))
.setBackgroundColor(List.of(
"rgba(255, 99, 132, 0.2)",
"rgba(54, 162, 235, 0.2)",
"rgba(255, 206, 86, 0.2)",
"rgba(75, 192, 192, 0.2)",
"rgba(153, 102, 255, 0.2)",
"rgba(255, 159, 64, 0.2)"
))
.setBorderWidth(1)
)));
```
### Pie/Doughnut Chart
```java
ChartJS pieChart = new ChartJS()
.setType(ChartType.PIE) // or ChartType.DOUGHNUT
.setData(new ChartData()
.setLabels(List.of("Red", "Blue", "Yellow"))
.setDatasets(List.of(
new Dataset()
.setData(List.of(300, 50, 100))
.setBackgroundColor(List.of(
"rgb(255, 99, 132)",
"rgb(54, 162, 235)",
"rgb(255, 205, 86)"
))
)));
```
## Chart Types
```java
ChartType.LINE // Line chart
ChartType.BAR // Vertical bar chart
ChartType.HORIZONTAL_BAR // Horizontal bar chart
ChartType.RADAR // Radar/spider chart
ChartType.DOUGHNUT // Doughnut chart
ChartType.PIE // Pie chart
ChartType.POLAR_AREA // Polar area chart
ChartType.BUBBLE // Bubble chart
ChartType.SCATTER // Scatter plot
```
## Chart Options
```java
new ChartOptions()
.setResponsive(true)
.setMaintainAspectRatio(true)
.setAspectRatio(2)
.setPlugins(new PluginsOptions()
.setTitle(new TitleOptions()
.setDisplay(true)
.setText("Chart Title"))
.setLegend(new LegendOptions()
.setDisplay(true)
.setPosition("top")))
.setScales(new ScalesOptions()
.setX(new ScaleOptions().setDisplay(true))
.setY(new ScaleOptions()
.setDisplay(true)
.setBeginAtZero(true)));
```
## Dataset Options
```java
new Dataset()
.setLabel("Dataset 1")
.setData(dataPoints)
.setBackgroundColor("rgba(75, 192, 192, 0.2)")
.setBorderColor("rgb(75, 192, 192)")
.setBorderWidth(2)
.setPointRadius(5)
.setPointHoverRadius(7)
.setTension(0.4) // Line tension (0 = straight, 1 = curved)
.setFill(true); // Fill area under line
```
## Mixed Charts
```java
new ChartData()
.setDatasets(List.of(
new Dataset()
.setType(ChartType.LINE)
.setLabel("Line Dataset")
.setData(List.of(10, 20, 30)),
new Dataset()
.setType(ChartType.BAR)
.setLabel("Bar Dataset")
.setData(List.of(15, 25, 35))
));
```
## Animations
```java
new ChartOptions()
.setAnimation(new AnimationOptions()
.setDuration(1000)
.setEasing("easeInOutQuart")
.setDelay(0));
```
## Installation
```xml
<dependency>
<groupId>com.jwebmp.plugins</groupId>
<artifactId>chartjs</artifactId>
</dependency>
```
## References
- Module: `com.jwebmp.plugins.chartjs`
- Chart.js: 4.x
- Java: 25+
- License: Apache 2.0
- [Chart.js Docs](https://www.chartjs.org/docs/)Related Skills
jwebmp-webawesome
WebAwesome icon integration for JWebMP — modern, open-source icon library. Provides 1,500+ icons with solid/regular styles, sizing, rotation, animation, and CSS utilities. Drop-in FontAwesome alternative with fresh designs. Use when working with WebAwesome icons, modern icon designs, or as FontAwesome alternative in JWebMP applications.
jwebmp-webawesome-pro
WebAwesome Pro integration for JWebMP with premium icons and features. Extends jwebmp-webawesome with additional styles, premium icons, and advanced features. Use when working with WebAwesome Pro icons or premium WebAwesome features in JWebMP applications.
jwebmp-weather-icons
Weather Icons font library for JWebMP providing weather icon fonts. Use when displaying weather-related icons.
jwebmp-waypoints
Waypoints jQuery plugin for JWebMP triggering functions when elements enter the viewport. Use when implementing scroll-based interactions and animations.
jwebmp-waves-effect
Waves material design ripple effect for JWebMP creating Material Design click ripples on elements. Use when adding Material Design interaction effects.
jwebmp-vertx
Portable connector between JWebMP and Vert.x 5 powered by GuicedEE. Provides automatic page routing, AJAX event pipeline, data component servlet, CSS endpoint, site-loader script, WebSocket broadcasting via event bus, user-agent detection, and call-scope integration. Use when working with JWebMP Vert.x integration, HTTP routing, AJAX handling, WebSocket communication, or building reactive web applications with JWebMP.
jwebmp-tsclient
TypeScript client generation for JWebMP plugins. Provides annotations and utilities for generating TypeScript interfaces, components, services, and modules from Java code. Supports @TsDependency, @TsDevDependency, @NgComponent, @NgDataService, @NgRestClient annotations. Use when creating JWebMP plugins that generate TypeScript code, defining npm dependencies, building Angular-integrated components, or generating typed Angular REST client services.
jwebmp-toastr
Toastr jQuery notification plugin integration for JWebMP displaying non-blocking toast notifications. Use when showing transient user notifications and alerts.
jwebmp-themify-icons
Themify Icons font library for JWebMP providing a comprehensive icon font collection. Use when adding Themify icons to projects.
jwebmp-skycons
Skycons animated weather icons for JWebMP creating beautiful animated SVG weather visualizations. Use when rendering weather data with animated icons.
jwebmp-session-storage
Browser Session Storage integration for JWebMP providing client-side temporary data storage for the browser session. Use when storing temporary user session data.
jwebmp-prism
Prism syntax highlighter integration for JWebMP providing powerful code highlighting with line numbers, copy button, and themes. Use when displaying highlighted code with advanced features.