syncfusion-react-sparkline

Implement Syncfusion React Sparkline components for compact inline data visualization.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/haresh-sai06/HF_APP_Frontend --skill syncfusion-react-sparkline-haresh-sai06
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: syncfusion-react-sparkline
Source: https://github.com/haresh-sai06/HF_APP_Frontend/tree/main/.agents/skills/syncfusion-react-sparkline
Command: npx skills add https://github.com/haresh-sai06/HF_APP_Frontend --skill syncfusion-react-sparkline-haresh-sai06

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @syncfusion/ej2-react-charts, and includes references (resource) components.

What problem does it solve? Building compact, inline trend visualizations in React dashboards, grids, and tables requires configuring many chart options; this Skill provides complete guidance for implementing Syncfusion React Sparkline components without full-sized charts. ## Core Features & Use Cases - Five Sparkline Types: Implement Line, Column, Area, Win-Loss, and Pie sparklines with data binding via dataSource, xName, and yName. - Interactivity & Annotation: Add tooltips with templates, track lines, markers, data labels with formatting, and range bands to highlight value zones. - Customization & Accessibility: Configure axis value types (Numeric, Category, DateTime), themes, special point colors, RTL support, and WCAG 2.2 accessibility. - Use Case: Embed a Win-Loss sparkline in a grid cell to show stock gains and losses, with negative points in red and tie points in blue. ## Quick Start Install @syncfusion/ej2-react-charts and ask the AI to create a Line sparkline bound to an array of numbers with tooltips enabled.

Frequently Asked Questions about syncfusion-react-sparkline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a sparkline to a React application?▼

Install @syncfusion/ej2-react-charts, import SparklineComponent, and bind an array or object collection to the dataSource property. Set the type property to Line, Column, Area, WinLoss, or Pie, and define height and width.

How do I enable tooltips on a Syncfusion React Sparkline?▼

Set tooltipSettings with visible: true and inject the SparklineTooltip module using the Inject component. You can customize the format string, fill color, text styles, or provide a custom HTML template.

What sparkline types does Syncfusion React support?▼

The component supports five types: Line for continuous trends, Column for discrete comparisons, Area for filled trends, WinLoss for binary outcomes, and Pie for proportional data. Select the type via the type property.

Can I highlight specific value ranges in a sparkline?▼

Yes, use the rangeBandSettings array with startRange, endRange, color, and opacity to highlight Y-axis value zones. Multiple range bands can define performance zones or threshold regions.

Does the Syncfusion Sparkline support DateTime or category axes?▼

Yes, set the valueType property to DateTime, Category, or Numeric and map fields with xName and yName. You can also control axis ranges with minX, maxX, minY, and maxY in axisSettings.

Is the Syncfusion React Sparkline accessible?▼

The component offers partial WCAG 2.2 and Section 508 compliance with WAI-ARIA attributes, screen reader compatibility, full RTL support, and WCAG AA color contrast. Provide text alternatives or data tables for critical data.