Chart JS

by StockSharp

Chart JS — a canvas trading-chart library with not a single external dependency. It is the very engine that draws the charts in the StockSharp web terminal, packaged as a standalone embeddable compone...

0 Downloads
☆☆☆☆☆ Rating
0 Reviews
Chart JS Screenshot

Chart JS — a canvas trading-chart library with not a single external dependency. It is the very engine that draws the charts in the StockSharp web terminal, packaged as a standalone embeddable component.

160+
indicators
9
series types
0
external dependencies

Any series

Candles, OHLC bars, line, area, histogram and band — plus the derived Heikin-Ashi, Renko and Point & Figure.

History and real time

setData loads the history, update moves the last bar — without redrawing the whole chart.

Ready to embed

Light and dark themes, a context menu, the indicator dialog and chart-type switching are already inside.

Footprint

  • The volume inside a candle, laid out by price level
  • You see the prices the volume went through, not just the bar's edges

Volume profile and TPO

  • A profile over the selected part of the chart
  • Market profile (TPO) — how long price stayed at a level

It loads with a <script> tag or as an ES module — a chart takes three lines:

import { createChart, CandlestickSeries } from '@stocksharp/chart';

const chart = createChart(document.getElementById('chart'), {
  timeScale: { timeVisible: true },
});

const candles = chart.addSeries(CandlestickSeries);
candles.setData(history);   // time is Unix seconds
candles.update(lastCandle); // and onwards as data arrives

User Reviews

Login to write a review

No reviews yet