Lines svg charts, candlestick, sma, ema and ...
LinesSvg is a financial chart library based on snapsvg. You can use it to create HTML5 forex/stock charts. The library support standart time based graphics(linear, sma, ema …), toolset for end users to draw(hints, notes, signals) and create snapshots in PNG or Canvas format.
Npmnpm install lines-svg
From repo
$ git clone
$ cd project_folder
$ npm install
$ npm run build
const chartData = [
[1.1, 1.1, 1.3, 1.2, 1588368812844]
...
]; // ohlc Data with timestamp
const l = new Lines(elementID);
l.data(chartData);
l.draw();
Install development dependencies:
$ npm install
Then:
$ npm run test
Interface and functions signature are :
npm run build:watch
npm start
IP : 5000 / example/build.html
@binyamin/creating-a-node-express-webpack-app-with-dev-and-prod-builds-a4962ce51334"">https://medium.com/@binyamin/creating-a-node-express-webpack-app-with-dev-and-prod-builds-a4962ce51334