The Angular Stock Chart is a well-crafted, easy-to-use financial charting package to track and visualize stock price of any company over a specific period using charting(such as Candlestick, OHLC, HiLo, etc.) and range tools. It also comes with a lot of features such as zooming, panning, tooltip, crosshair, trackball, period selector, range selector, and events to make the stock charts more interactive.
Several data rendering optimizations have been used to achieve the best possible efficiency when plotting large amounts of data and managing high-frequency, real-time data.
The Stock Chart for Angular provides fluid animation to present data with smooth transitions.
The tooltip and crosshair cursor allow users to interact with the chart and obtain detailed information about data points.
The Angular Stock Chart supports zooming and panning, multiple series, period selector, range selector, trendlines, and indicators.
Stock Chart has a highly responsive layout and an optimized design for desktops, touchscreens, and phones. It works well on all mobile phones that use iOS, Android, or Windows OS.
Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes of stock chart easily.
Enable users from different locales to use the control by formatting dates, currency, and numbering to suit preferences.
Easily get started with the Angular Stock Chart using a few simple lines of HTML and TS code as demonstrated below. Also explore our Angular Stock Chart Example that shows you how to render and configure the stock chart.
<div>
<ejs-stockchart id='stockChartDefault' [chartArea]='chartArea' [primaryXAxis]='primaryXAxis' style="display:block;"
[primaryYAxis]='primaryYAxis' [title]='title' [titleStyle]='titleStyle' [crosshair]='crosshair'
(tooltipRender)='tooltipRender($event)' [tooltip]='tooltip'>
<e-stockchart-series-collection>
<e-stockchart-series [dataSource]='data' type='Candle'>
</e-stockchart-series>
</e-stockchart-series-collection>
</ejs-stockchart>
</div>
import { Component, ViewEncapsulation } from '@angular/core';
import { ITooltipRenderEventArgs, IStockChartEventArgs, ChartTheme } from '@syncfusion/ej2-angular-charts';
import { chartData } from './indicator-data';
@Component({
selector: 'control-content',
templateUrl: 'default.html',
encapsulation: ViewEncapsulation.None
})
export class DefaultComponent {
public data: Object[] = chartData;
public primaryXAxis: Object = { majorGridLines: { color: 'transparent' }, crosshairTooltip: { enable: true } };
public primaryYAxis: Object = {
lineStyle: { color: 'transparent' },
majorTickLines: { color: 'transparent', width: 0 },
};
public crosshair: Object = {
enable: true
};
public tooltipRender(args: ITooltipRenderEventArgs): void {
if (args.text.split('<br/>')[4]) {
let target: number = parseInt(args.text.split('<br/>')[4].split('<b>')[1].split('</b>')[0], 10);
let value: string = (target / 100000000).toFixed(1) + 'B';
args.text = args.text.replace(args.text.split('<br/>')[4].split('<b>')[1].split('</b>')[0], value);
}
};
public title: string = 'AAPL Stock Price';
public titleStyle: object = { color: 'black' };
public tooltip: object = { enable: true };
public chartArea: Object = {
border: {
width: 0
}
};
public enable: boolean = true;
}
The end-user experience is greatly enhanced by including a set of interactive features such as zooming, and panning, crosshair, trackball, events, and selection.
Angular Candlestick Chart allows analyzing both price action and volume at a glance.
Plot multiple series in a single chart to compare different stock values. Enabling a legend and a tooltip gives more information about an individual series.
Draw special attention to any region of the chart or graph with the help of strip lines.
Use the range selector to filter a date range for data that needs to be visualized.
Use the period selector to choose a range of data points at predetermined intervals with a single click.
Visualize data using different series types like candle, OHLC, HiLo, line, spline, area, and spline area. The series type can be changed using the series options in the period selector.
Legends provide additional information helpful in identifying individual data or series in a stock chart.
Use technical indicators to analyze the past and predict the future market trends based on historic price, volume, or open interest. The Stock Chart supports 10 different types of indicators. You can add these indicators to a stock chart using the indicator option in the period selector.
Predict future trends with predetermined data for any measurement such as the stock market or target revenue with the help of trendlines. You can add trendlines to a stock chart using the trendlines options in the period selector.
Export Angular Stock Chart to PDF documents or to image formats such as SVG, PNG, and JPEG in the client-side. Print the rendered stock charts and graphs directly from the browser.
Every element in Angular Stock Charts is keyboard accessible. Major features like tooltip, trackball, legend, collapse, zoom, and pan can be used through keyboard commands alone. No mouse interaction is required. This helps in creating highly accessible applications.
The Angular Stock Chart view has complete WAI-ARIA accessibility support. The Stock Chart UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.
Right-to-left rendering allows displaying the text and layout of the Stock Chart from right to left. This improves the user experience and accessibility for RTL languages.
With continuous improvement in Angular versions, the Angular Stock Chart is kept up to date to make it compatible with the latest version.
Stock Chart is also available in the Blazor, React, Vue, and JavaScript frameworks. Check out the Stock Chart for different platforms from the following links.
The Angular Stock Chart works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.
You can find our Angular Stock Chart demo, which demonstrates how to render and configure the Stock Chart.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.