All Projects → tradingview → Lightweight Charts

tradingview / Lightweight Charts

Licence: apache-2.0
Financial lightweight charts built with HTML5 canvas

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Lightweight Charts

Echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Stars: ✭ 49,119 (+1018.88%)
Mutual labels:  charts, charting-library, canvas
Amcharts4
The most advanced amCharts charting library for JavaScript and TypeScript apps.
Stars: ✭ 907 (-79.34%)
Mutual labels:  charts, charting-library, charting
Anychart Android
AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
Stars: ✭ 1,762 (-59.86%)
Mutual labels:  charts, charting-library, charting
HCLineChartView
HCLineChartView is a beautiful iOS library for drawing line charts. It is highly customizable and easy to use.
Stars: ✭ 22 (-99.5%)
Mutual labels:  charts, charting-library, charting
ux-charts
Simple, responsive, modern Charts with zero dependencies
Stars: ✭ 22 (-99.5%)
Mutual labels:  charts, canvas, charting-library
Dygraphs
Interactive visualizations of time series using JavaScript and the HTML canvas tag
Stars: ✭ 2,953 (-32.73%)
Mutual labels:  charting-library, canvas
Graphic
A Flutter data visualization library based on Grammar of Graphics.
Stars: ✭ 173 (-96.06%)
Mutual labels:  charts, charting-library
React Financial Charts
Charts dedicated to finance.
Stars: ✭ 201 (-95.42%)
Mutual labels:  charts, canvas
scalajs-highcharts
Scala.js static typed facades for Highcharts library
Stars: ✭ 30 (-99.32%)
Mutual labels:  charts, charting
G2
📊 A highly interactive data-driven visualization grammar for statistical charts.
Stars: ✭ 11,020 (+151.03%)
Mutual labels:  charts, canvas
Angular Chartist.js
Angular directive for Chartist.js
Stars: ✭ 206 (-95.31%)
Mutual labels:  charts, charting-library
gauge-chart
Gauge Chart Library
Stars: ✭ 45 (-98.97%)
Mutual labels:  charts, charting-library
Anychart
AnyChart is a lightweight and robust JavaScript charting solution with great API and documentation. The chart types and unique features are numerous, the library works easily with any development stack.
Stars: ✭ 288 (-93.44%)
Mutual labels:  charts, charting-library
Matplotplusplus
Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
Stars: ✭ 2,433 (-44.58%)
Mutual labels:  charts, charting-library
Plotly.js
Open-source JavaScript charting library behind Plotly and Dash
Stars: ✭ 14,268 (+225.01%)
Mutual labels:  charts, charting-library
Fundcharts
轻量级canvas数据可视化组件库(可在web移动端、微信小程序、服务端nodejs运行)。包含折线图/面积图、饼图/环形图、柱状图、雷达图(蜘蛛图),散点图,K线图,组合图,持续更新及维护。
Stars: ✭ 143 (-96.74%)
Mutual labels:  charts, canvas
Keen Dataviz.js
Data Visualization Charting Library
Stars: ✭ 215 (-95.1%)
Mutual labels:  charts, charting-library
svg-time-series
SVG time-series charting library
Stars: ✭ 18 (-99.59%)
Mutual labels:  charts, charting-library
Plotly.swift
Interactive data visualization library for Swift
Stars: ✭ 70 (-98.41%)
Mutual labels:  charts, charting-library
React D3 Components
D3 Components for React
Stars: ✭ 1,599 (-63.58%)
Mutual labels:  charts, charting-library

Lightweight Charts

CircleCI npm version npm bundle size Dependencies count Downloads

Demos | Documentation | Discord community

TradingView Lightweight Charts are one of the smallest and fastest financial HTML5 charts.

The Lightweight Charting Library is the best choice for you if you want to display financial data as an interactive chart on your web page without affecting your web page loading speed and performance.

It is the best choice for you if you want to replace static image charts with interactive ones. The size of the library is close to static images but if you have dozens of image charts on a web page then using this library can make the size of your web page smaller.

Installing

es6 via npm

npm install lightweight-charts
import { createChart } from 'lightweight-charts';

const chart = createChart(document.body, { width: 400, height: 300 });
const lineSeries = chart.addLineSeries();
lineSeries.setData([
    { time: '2019-04-11', value: 80.01 },
    { time: '2019-04-12', value: 96.63 },
    { time: '2019-04-13', value: 76.64 },
    { time: '2019-04-14', value: 81.89 },
    { time: '2019-04-15', value: 74.43 },
    { time: '2019-04-16', value: 80.01 },
    { time: '2019-04-17', value: 96.63 },
    { time: '2019-04-18', value: 76.64 },
    { time: '2019-04-19', value: 81.89 },
    { time: '2019-04-20', value: 74.43 },
]);

CDN

You can use unpkg:

https://unpkg.com/lightweight-charts/dist/lightweight-charts.standalone.production.js

The standalone version creates window.LightweightCharts object with all exports from esm version:

const chart = LightweightCharts.createChart(document.body, { width: 400, height: 300 });
const lineSeries = chart.addLineSeries();
lineSeries.setData([
    { time: '2019-04-11', value: 80.01 },
    { time: '2019-04-12', value: 96.63 },
    { time: '2019-04-13', value: 76.64 },
    { time: '2019-04-14', value: 81.89 },
    { time: '2019-04-15', value: 74.43 },
    { time: '2019-04-16', value: 80.01 },
    { time: '2019-04-17', value: 96.63 },
    { time: '2019-04-18', value: 76.64 },
    { time: '2019-04-19', value: 81.89 },
    { time: '2019-04-20', value: 74.43 },
]);

Development

See BUILDING.md for instructions on how to build lightweight-charts from source.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at LICENSE file. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This software incorporates several parts of tslib (https://github.com/Microsoft/tslib, (c) Microsoft Corporation) that are covered by BSD Zero Clause License.

This license requires specifying TradingView as the product creator. You shall add the "attribution notice" from the NOTICE file and a link to https://www.tradingview.com/ to the page of your website or mobile application that is available to your users. As thanks for creating this product, we'd be grateful if you add it in a prominent place.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].