/syncfusion-blazor:syncfusion-blazor-stock-chartsfrom Syncfusion Blazor Components
Implement Syncfusion Blazor Stock Chart (SfStockChart) for financial data visualization. Use this when working with stock charts, candlestick displays, OHLC data, or technical indicators like SMA, EMA, MACD, and Bollinger Bands. This skill covers period selectors, range navigation, and financial time-series data visualization in Blazor applications.
Ships in Syncfusion Blazor Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
NuGet: Syncfusion.Blazor.Charts + Syncfusion.Blazor.Themes (or Syncfusion.Blazor.StockChart for individual package)
Namespace: Syncfusion.Blazor.Charts
A comprehensive skill for implementing Syncfusion Blazor Stock Chart components for financial data visualization. The Stock Chart is specifically designed for visualizing stock market data with built-in features for technical analysis, time-based navigation, and financial indicators.
Use this skill immediately when you need to:
The Syncfusion Blazor Stock Chart (SfStockChart) is a feature-rich financial charting component that extends standard charting capabilities with:
📄 Read: references/getting-started.md
Start here for installation, setup, and your first stock chart. Covers:
📄 Read: references/series-types.md
Learn about the 5 core series types for stock data visualization:
📄 Read: references/working-with-data.md
Configure data sources for stock charts:
📄 Read: references/axes.md
Customize X and Y axes for financial data:
📄 Read: references/period-range-selectors.md
Implement time-based navigation:
📄 Read: references/technical-indicators.md
Add financial analysis indicators:
📄 Read: references/stock-events.md
Mark important dates on the chart:
📄 Read: references/trend-lines.md
Add trend analysis to series:
📄 Read: references/zooming-panning-crosshair.md
Enable user interaction for data exploration:
📄 Read: references/tooltip-legend.md
Display data details on hover:
📄 Read: references/appearance-customization.md
Customize the visual design:
📄 Read: references/export-print.md
Export charts for reports and sharing:
📄 Read: references/events.md
Handle stock chart events exposed by StockChartEvents:
OnLoaded for post-render initializationOnPointClick for point selection scenariosAxisLabelRendering for axis label customizationPeriodChanged and RangeChange for time navigation updatesOnZooming for zoom interaction handlingTooltipRendering and SharedTooltipRendering for tooltip customizationExporting, ExportCompleted, and OnPrintComplete for output workflows📄 Read: references/accessibility.md
Ensure accessible financial charts:
Here's a minimal stock chart with candlestick series and period selector:
@page "/stock-chart"
@using Syncfusion.Blazor.Charts
<SfStockChart Title="AAPL Stock Price" Height="450px">
<StockChartPrimaryXAxis ValueType="Syncfusion.Blazor.Charts.ValueType.DateTime">
</StockChartPrimaryXAxis>
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockData" Type="ChartSeriesType.Candle"
XName="Date" High="High" Low="Low" Open="Open" Close="Close">
</StockChartSeries>
</StockChartSeriesCollection>
<StockChartPeriods>
<StockChartPeriod Text="1M" Interval="1" IntervalType="RangeIntervalType.Months"></StockChartPeriod>
<StockChartPeriod Text="3M" Interval="3" IntervalType="RangeIntervalType.Months"></StockChartPeriod>
<StockChartPeriod Text="6M" Interval="6" IntervalType="RangeIntervalType.Months"></StockChartPeriod>
<StockChartPeriod Text="1Y" Interval="1" IntervalType="RangeIntervalType.Years"></StockChartPeriod>
<StockChartPeriod Text="All"></StockChartPeriod>
</StockChartPeriods>
</SfStockChart>
@code {
public class StockInfo
{
public DateTime Date { get; set; }
public double Open { get; set; }
public double High { get; set; }
public double Low { get; set; }
public double Close { get; set; }
public double Volume { get; set; }
}
public List<StockInfo> StockData = new List<StockInfo>
{
new StockInfo { Date = new DateTime(2024, 01, 01), Open = 175.5, High = 180.2, Low = 174.8, Close = 179.5, Volume = 12000000 },
new StockInfo { Date = new DateTime(2024, 02, 01), Open = 179.5, High = 185.3, Low = 178.1, Close = 183.7, Volume = 15000000 },
new StockInfo { Date = new DateTime(2024, 03, 01), Open = 183.7, High = 190.5, Low = 182.5, Close = 188.2, Volume = 18000000 },
// Add more data points...
};
}
<SfStockChart Title="Stock Analysis with SMA and RSI">
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockData" Type="ChartSeriesType.Candle"
XName="Date" High="High" Low="Low" Open="Open" Close="Close">
</StockChartSeries>
</StockChartSeriesCollection>
<StockChartIndicators>
<StockChartIndicator Type="TechnicalIndicators.Sma" Period="14" Field="FinancialDataFields.Close">
</StockChartIndicator>
<StockChartIndicator Type="TechnicalIndicators.Rsi" Period="14" ShowZones="true">
</StockChartIndicator>
</StockChartIndicators>
</SfStockChart>
When to use: Investment analysis dashboards, trading platforms, portfolio monitoring
<SfStockChart Title="Tech Stocks Comparison">
<StockChartSeriesCollection>
<StockChartSeries DataSource="@AppleData" Type="ChartSeriesType.Line" Name="AAPL"
XName="Date" YName="Close">
</StockChartSeries>
<StockChartSeries DataSource="@MicrosoftData" Type="ChartSeriesType.Line" Name="MSFT"
XName="Date" YName="Close">
</StockChartSeries>
<StockChartSeries DataSource="@GoogleData" Type="ChartSeriesType.Line" Name="GOOGL"
XName="Date" YName="Close">
</StockChartSeries>
</StockChartSeriesCollection>
</SfStockChart>
When to use: Portfolio comparison, sector analysis, benchmarking against indices
<SfStockChart Title="AAPL with Corporate Events">
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockData" Type="ChartSeriesType.Candle"
XName="Date" High="High" Low="Low" Open="Open" Close="Close">
</StockChartSeries>
</StockChartSeriesCollection>
<StockChartEvents>
<StockChartEvent Date="new DateTime(2024, 02, 01)" Text="Q1 Earnings" Type="@SplineType.Circle">
</StockChartEvent>
<StockChartEvent Date="new DateTime(2024, 03, 15)" Text="Dividend $0.24" Type="@SplineType.Square">
</StockChartEvent>
</StockChartEvents>
</SfStockChart>
When to use: Fundamental analysis, event-driven trading, corporate calendar visualization
<SfStockChart Title="Bitcoin Price and Volume">
<StockChartRows>
<StockChartRow Height="70%"></StockChartRow>
<StockChartRow Height="30%"></StockChartRow>
</StockChartRows>
<StockChartAxes>
<StockChartAxis Name="VolumeAxis" OpposedPosition="true" RowIndex="1">
</StockChartAxis>
</StockChartAxes>
<StockChartSeriesCollection>
<StockChartSeries DataSource="@BitcoinData" Type="ChartSeriesType.Candle"
XName="Date" High="High" Low="Low" Open="Open" Close="Close">
</StockChartSeries>
<StockChartSeries DataSource="@BitcoinData" Type="ChartSeriesType.Column" Name="Volume"
XName="Date" YName="Volume" YAxisName="VolumeAxis">
</StockChartSeries>
</StockChartSeriesCollection>
</SfStockChart>
When to use: Cryptocurrency tracking, 24/7 market visualization, digital asset portfolios
@using Syncfusion.Blazor.Charts
<button class="btn btn-primary" @onclick="ExportChart">Export to PDF</button>
<SfStockChart @ref="StockChartRef" Title="Annual Stock Performance">
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockData" Type="ChartSeriesType.Candle"
XName="Date" High="High" Low="Low" Open="Open" Close="Close">
</StockChartSeries>
</StockChartSeriesCollection>
</SfStockChart>
@code {
SfStockChart StockChartRef;
private async Task ExportChart()
{
await StockChartRef.ExportAsync(ExportType.PDF, "StockReport");
}
}
When to use: Financial reports, investor presentations, automated reporting systems
| Property | Type | Purpose |
|---|---|---|
Title | string | Main chart title |
Height / Width | string | Chart dimensions (e.g., "450px", "100%") |
Theme | Theme | Visual theme (Material, Bootstrap, Fluent, etc.) |
EnablePeriodSelector | bool | Show/hide period selector (default: true) |
EnableSelector | bool | Show/hide range selector (default: true) |
EnableCustomRange | bool | Allow custom date range input |
📄 Read: references/api-reference.md
This page summarizes the validated SfStockChart API surface, including:
Background, DataSource, SeriesType, IndicatorType, TrendlineType, Theme, Title, Height, and WidthExportAsync(), PrintAsync(), Refresh(), and UpdateStockChart()StockChartSeriesCollection, StockChartIndicators, StockChartTrendlines, StockChartPeriods, StockChartEvents, and StockChartAxes| Property | Type | Purpose |
|---|---|---|
Type | ChartSeriesType | Series type (Candle, Line, Hilo, etc.) |
DataSource | object | Data collection |
XName | string | Property name for X-axis (Date) |
High / Low / Open / Close | string | OHLC property names |
YName | string | Property for Line/Spline series |
Fill | string | Series color |
| Property | Type | Purpose |
|---|---|---|
Text | string | Button label (e.g., "1M", "6M", "1Y") |
Interval | int | Number of intervals |
IntervalType | RangeIntervalType | Days, Months, Years |
Selected | bool | Default selected period |
For questions or issues, refer to Accessibility for compliance requirements or Events for handling user interactions.
references/accessibility.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/appearance-customization.md (opens in a new tab)references/axes.md (opens in a new tab)references/events.md (opens in a new tab)references/export-print.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/period-range-selectors.md (opens in a new tab)references/series-types.md (opens in a new tab)references/stock-events.md (opens in a new tab)references/technical-indicators.md (opens in a new tab)references/tooltip-legend.md (opens in a new tab)references/trend-lines.md (opens in a new tab)references/working-with-data.md (opens in a new tab)references/zooming-panning-crosshair.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-blazor69 skills in this plugin
/syncfusion-blazor-3d-chartsProvides guidance for building and customizing Syncfusion Blazor 3D Charts. Trigger this skill whenever the user needs help with SfChart3D, 3D Column/Bar charts, axes, data binding, rotation, tilt, depth, legends, tooltips, or any configuration in Syncfusion.Blazor.Chart3D./syncfusion-blazor-accordionGuide for implementing the Syncfusion Blazor Accordion component for creating collapsible panels with expandable content. Use this skill when users need to build accordions, implement collapsible sections, create expandable panels, organize content in navigation components, implement FAQs, build collapsible menus, add nested accordions, configure expand modes (single or multiple), handle accordion events, customize accordion styling, implement accessible accordions with WCAG compliance, integrate data binding, or work with any vertically collapsible content containers in Blazor applications./syncfusion-blazor-accumulation-chartImplement Syncfusion Blazor Accumulation Chart (SfAccumulationChart) for proportional data visualization. Use this when creating pie charts, doughnut charts, funnel charts, or pyramid charts. This skill covers data labels, legends, tooltips, slice grouping, and part-to-whole visualizations in Blazor applications./syncfusion-blazor-ai-assistviewImplement the Syncfusion Blazor AI AssistView component for AI-powered chat interfaces in Blazor applications. Use this skill when implementing conversational AI, chatbots, AI assistants, or prompt-response interfaces. Covers AssistViewPrompt setup, PromptRequested events, markdown responses, prompt suggestions with avatar customization, and speech recognition/synthesis for voice-enabled chat interactions./syncfusion-blazor-appbarGuide for implementing Syncfusion Blazor AppBar component (SfAppBar) in Blazor applications. Use this when implementing navigation bars, app bars, or header toolbars with action controls. This skill covers AppBar configuration, size modes (regular, prominent, dense), color modes, positioning (top, bottom, sticky), menu integration, and responsive design patterns./syncfusion-blazor-barcodeBuild and troubleshoot barcode generation in Blazor using SfBarcodeGenerator, SfQRCodeGenerator, SfDataMatrixGenerator, and SfDotCodeGenerator. Trigger for 1D barcodes (Code39, Code128, Codabar), QR codes with logo and error correction, Data Matrix, DotCode, GS1-compliant symbologies (GS1 Code 128, ITF-14, GS1 DataBar family, GS1 QR Code, GS1 Data Matrix, GS1 DotCode) for retail/logistics/inventory traceability, checksum validation, and exporting barcodes to images in Syncfusion Blazor apps.