devexpress/agent-skills/devexpress-blazor-charts
Claude Code and agent skill by devexpress/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate and configure DevExpress Blazor Charts (DxChart, DxPieChart, DxPolarChart) for common chart types (line/bar/area/pie/donut/scatter/bubble/financial), data binding, axes, series, labels, tooltips, legends, annotations, zoom/pan, palettes, selection, and export/print. Also use for Blazor charts, data visualization, dashboards, and chart feature comparisons or migration scenarios.
Install
npx vskill@latest install devexpress/agent-skills/devexpress-blazor-chartsSKILL.md
DevExpress Blazor Charts
DevExpress Blazor Charts (DxChart, DxPieChart, DxPolarChart) transform data into concise visual representations with 20+ series types, customizable axes, descriptive elements, zoom/pan, and export. All three chart components share a common set of descriptive element components (DxChartTitle, DxChartLegend, DxChartSeriesLabel).
When to Use This Skill
- Add a line, bar, area, scatter, bubble, or financial chart to a Blazor page
- Create a pie or donut chart with per-sector labels and colors
- Display data in polar coordinates (spider/wind rose charts)
- Bind a chart to a C# collection, async service, or observable collection
- Configure axes: titles, strips, constant lines, scale breaks, axis ranges
- Add series labels, tooltips, legend, annotations, titles/subtitles
- Apply a custom color palette to series or pie sectors
- Enable zoom/pan with mouse wheel, touch gestures, or drag-to-zoom
- Export chart content to PNG, PDF, JPEG, or GIF
- Handle user interaction: point/series click, selection, hover events
Prerequisites & Installation
NuGet Package
| Package | Purpose | |
|---|---|---|
DevExpress.Blazor | All chart components (DxChart, DxPieChart, DxPolarChart) |
Register in Program.cs:
v26.1 note:DevExpress.Blazorno longer includesoptions.BootstrapVersionorDevExpress.Blazor.BootstrapVersion. Do not generate either API.
Add to _Imports.razor:
Apply a theme and add client scripts in App.razor inside <head>:
Important: All DevExpress packages must use the same version. A valid DevExpress license is required.
Before You Start — Ask the Developer
If the host agent has a structured question-asking tool available, use it to ask these questions one at a time with clear options — for example, Claude Code's AskUserQuestion tool or GitHub Copilot's askQuestions tool. If no such tool is available, ask the questions directly in the chat response before generating code.
Before generating code, ask:
- Render Mode: What is your render mode? (
InteractiveServer,InteractiveWebAssembly,InteractiveAuto, or Static/SSR — note: zoom/pan and selection require interactivity) - Chart type:
DxChart(Cartesian),DxPieChart(pie/donut), orDxPolarChart(polar/spider)? - Series type: Which series type? (Line, Bar, Area, Scatter, Bubble, Candlestick, Pie, etc.)
- Data source: Is your data an
IEnumerable<T>collection, async/injected service, orObservableCollection<T>? - Features needed: Which features? (Labels, legend, tooltips, axes config, zoom/pan, selection, export, palette, annotations)
Rule: If the chart type or series type is ambiguous, ask before generating — the component tags and properties differ significantly.
Component Overview
- `DxChart<T>`: Cartesian chart with 20+ series types, multiple panes, multiple axes, zoom/pan
- `DxPieChart<T>`: Pie/donut chart; one series type (
DxPieChartSeries),InnerDiameterfor donut - `DxPolarChart<T>`: Polar coordinate chart, supports spider web (
UseSpiderWeb="true")
Core Pattern
Documentation & Navigation Guide
Getting Started
📄 references/getting-started.md
When you need to: set up charts for the first time, install NuGet, bind to a data source, and see a complete first-chart example.
Series Types
When you need to: choose a series type, understand the series tag names, configure financial/bubble/range series, combine multiple series on one plane, or switch the chart type at runtime (bar/line/area toggle button). Also load this reference when you see error RZ10001 about DxChartCommonSeries.
Data Binding
When you need to: bind synchronously or asynchronously, use ObservableCollection, bind DataTable, trigger chart updates, or use per-series data sources.
Axes & Labels
When you need to: configure argument/value axes, add axis titles, strips, constant lines, scale ranges, rotate axes, or configure series/axis labels.
Descriptive Elements & Customization
When you need to: add legend, titles, subtitles, tooltips, annotations, apply a custom palette, customize fonts, or style inner components.
User Interaction & Zoom
When you need to: enable zoom/pan, drag-to-zoom, scroll bar, handle click/selection/hover events, or select series/points in code.
Quick Start Example
See examples/quickstart.razor for the complete file.
Key Properties & API Surface
DxChart / DxPieChart / DxPolarChart (shared)
| Property / Method | Type | Description | |
|---|---|---|---|
Data | IEnumerable<T> | The chart's data source | |
Palette | string[] | Custom color palette for series/sectors | |
PaletteExtensionMode | ChartPaletteExtensionMode | How palette is extended when colors run out (Alternate, Blend, Extrapolate) | |
LabelOverlap | ChartLabelOverlap / PieChartLabelOverlap | How overlapping labels are handled (Hide, Stack, etc.) | |
PointSelectionMode | ChartSelectionMode | Point selection mode (None, Single, Multiple) | |
SeriesSelectionMode | ChartSelectionMode | Series selection mode | |
ExportAsync(ChartExportFormat format) | Task<string> | Export chart to base64-encoded string in the specified format |
DxChart-specific
| Property | Type | Description | |
|---|---|---|---|
Rotated | bool | Swap argument/value axes | |
VisualRangeChanged | event | Fires when zoom/pan changes axis range | |
ResetVisualRange() | — | Reset zoom to default | |
SetArgumentAxisVisualRange() | — | Set visible range programmatically |
Series (DxChartLineSeries, DxChartBarSeries, etc.)
| Property | Type | Description | |
|---|---|---|---|
ArgumentField | lambda | Maps data item to argument axis value | |
ValueField | lambda | Maps data item to value axis value | |
Name | string | Series name (shown in legend) | |
Data | IEnumerable<T> | Per-series data source override | |
Filter | lambda | Filter data items for this series | |
Color | Color | Override series color | |
Stack | string | Groups stacked bar series by name |
DxPieChart-specific
| Property | Type | Description | |
|---|---|---|---|
InnerDiameter | double | > 0 creates a donut chart |
Common Patterns
Pattern 1: Pie / Donut Chart
Pattern 2: Zoom and Pan
Pattern 3: Point Selection with Event Handler
Troubleshooting
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/dx-blazor/skills/devexpress-blazor-charts/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 8
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/devexpress/agent-skills/devexpress-blazor-charts)