Skip to main content
Any Framework

Syncfusion® ASP.NET MVC Stock Chart control is a specialized financial chart for visualizing stock market data with support for OHLC (Open-High-Low-Close) and Candlestick chart types. It includes built-in technical indicators (SMA, EMA, MACD, Bollinger Bands, RSI, Stochastic, ATR, etc.), trendlines, period selectors, range selectors, crosshair, trackball, zooming and panning, tooltip, and logarithmic axis. It is the ideal choice for building stock trading dashboards, financial analytics, and market data applications on ASP.NET MVC.

Published
Jul 27, 2026
2mo ago
Total Downloads
1.6K
1,637

Install

dotnet add package Syncfusion.AspNetMvc.StockChart --version 34.1.33

No framework information available.

README

Syncfusion® ASP.NET MVC Stock Chart

The Syncfusion® ASP.NET MVC Stock Chart component is designed specifically for financial data visualization. It supports OHLC and Candlestick chart types and includes built-in features required for financial market analysis.

Key Features

  • OHLC (Open-High-Low-Close) and Candlestick chart types
  • Built-in period selector (1D, 1W, 1M, 3M, 6M, 1Y, All)
  • Integrated Range Navigator for filtering the visible data range
  • 10+ technical indicators: SMA, EMA, MACD, RSI, Bollinger Bands, ATR, and more
  • Crosshair, trackball, and tooltip for data inspection
  • Zooming and panning for navigating large datasets
  • Multiple series support for comparing multiple stocks

Common Setup

These setup steps are required only once for your application, regardless of which Syncfusion components you use.

1. Install Base NuGet Package

Install-Package Syncfusion.AspNetMvc.StockChart

2. Add Namespace Reference

Edit Web.config under the Views folder and add the Syncfusion.EJ2 namespace:

<namespaces>
    <add namespace="Syncfusion.EJ2"/>
</namespaces>

3. Add Stylesheet & Script References

In your layout file (~/Views/Shared/_Layout.cshtml), add the following in the <head> section:

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewBag.Title - Syncfusion Application</title>
    
    <!-- Syncfusion ASP.NET MVC controls styles -->
    <link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/34.1.33/fluent2.css" />
    
    <!-- Syncfusion ASP.NET MVC controls scripts -->
    <script src="https://cdn.syncfusion.com/ej2/34.1.33/dist/ej2.min.js"></script>
</head>

4. Register Script Manager

At the end of the <body> tag in your layout file (~/Views/Shared/_Layout.cshtml):

<body>
    @RenderBody()
    
    <!-- Syncfusion ASP.NET MVC Script Manager -->
    @Html.EJS().ScriptManager()
</body>

Quick Start

Step 1: Add the ASP.NET MVC Stock Chart Control

Add the Syncfusion® ASP.NET MVC Stock Chart control to the ~/Views/Home/Index.cshtml page.

@(Html.EJS().StockChart("container").Series(series =>
{
    series.Add();
}).Render())

Step 2: Run the Application

Press Ctrl+F5 to run the application in your browser.

Documentation

Support

License

This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA

About Syncfusion®

Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET MVC | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com

[email protected] | Toll Free: 1-888-9-DOTNET

Changes from Previous Version

No structural changes between v34.1.32 and v34.1.33.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.