All Projects → trentpiercy → Flutter Candlesticks

trentpiercy / Flutter Candlesticks

Licence: mit
Elegant OHLC Candlestick and Trade Volume charts for @Flutter

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter Candlesticks

akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+1521.07%)
Mutual labels:  finance, financial-data
HTML-Crypto-Currency-Chart-Snippets
💹 Simple HTML Snippets to create Tickers / Charts of Cryptocurrencies with the TradingView API 💹
Stars: ✭ 89 (-72.01%)
Mutual labels:  finance, chart
TraderBot
No description or website provided.
Stars: ✭ 39 (-87.74%)
Mutual labels:  finance, financial-data
pytickersymbols
Fundamental stock data and yahoo/google ticker symbols for several indices.
Stars: ✭ 69 (-78.3%)
Mutual labels:  finance, financial-data
Fl chart
A powerful Flutter chart library, currently supporting Line Chart, Bar Chart, Pie Chart, Scatter Chart and Radar Chart.
Stars: ✭ 3,882 (+1120.75%)
Mutual labels:  graph, chart
Stocksera
Web application that provides alternative data to retail investors
Stars: ✭ 426 (+33.96%)
Mutual labels:  finance, financial-data
okama
Investment portfolio and stocks analyzing tools for Python with free historical data
Stars: ✭ 87 (-72.64%)
Mutual labels:  finance, financial-data
Chart.js
Simple HTML5 Charts using the <canvas> tag
Stars: ✭ 55,646 (+17398.74%)
Mutual labels:  graph, chart
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-95.28%)
Mutual labels:  finance, financial-data
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (-89.31%)
Mutual labels:  finance, financial-data
rb3
A bunch of downloaders and parsers for data delivered from B3
Stars: ✭ 52 (-83.65%)
Mutual labels:  finance, financial-data
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+1017.3%)
Mutual labels:  finance, financial-data
fhub
Python client for Finnhub API
Stars: ✭ 31 (-90.25%)
Mutual labels:  finance, financial-data
Customizable-Crypto-Currency-Dashboard-with-Chart
📺 A Dashboard with the price movements of the selected Cryptocurrencies 💹
Stars: ✭ 79 (-75.16%)
Mutual labels:  finance, chart
Block Codes
This depository uses SEC EDGAR data in Schedule 13D and Schedule 13G data to find all positions above 5% in all US stocks between 1994 and 2018.
Stars: ✭ 55 (-82.7%)
Mutual labels:  finance, financial-data
dados-financeiros
Repositório de Fontes de Dados Financeiros do Brasil
Stars: ✭ 119 (-62.58%)
Mutual labels:  finance, financial-data
Charts
Simple, responsive, modern SVG Charts with zero dependencies
Stars: ✭ 14,112 (+4337.74%)
Mutual labels:  graph, chart
Clchart
A fast, simple and cross-platform(html5 react-native weex wechat-applet) stock chart library created using canvas.
Stars: ✭ 250 (-21.38%)
Mutual labels:  graph, chart
CryptoBuddy
Android app which displays cryptocurrency prices, charts and news!
Stars: ✭ 93 (-70.75%)
Mutual labels:  finance, chart
Sparklinelayout
Simple and lightweight library for drawing sparklines / graphs. Support markers and gradients.
Stars: ✭ 291 (-8.49%)
Mutual labels:  graph, chart

pub package

flutter_candlesticks

Elegant OHLC Candlestick and Trade Volume charts for Flutter

Usage

Install for Flutter with pub.

Property Description
data Required. List of maps containing open, high, low, close and volumeto
enableGridLines Required. Enable or disable grid lines
volumeProp Required. Proportion of container to be given to volume bars
lineWidth Default 1.0. Width of most lines
gridLineAmount Default 5. Number of grid lines to draw. Labels automatically assigned
gridLineWidth Default 0.5. Width of grid lines
gridLineColor Default Colors.grey. Color of grid lines
gridLineLabelColor Default Colors.grey. Color of grid line labels
labelPrefix Default "$". Prefix before grid line labels.
increaseColor Default Colors.green. Color of increasing candles.
decreaseColor Default Colors.red. Color of decreasing candles.

Examples

No Grid Lines

new OHLCVGraph(
    data: sampleData,
    enableGridLines: false,
    volumeProp: 0.2
    )
)

Candle size dynamically changes by amount of data

Grid Lines

new OHLCVGraph(
    data: sampleData,
    enableGridLines: true,
    volumeProp: 0.2,
    gridLineAmount: 5,
    gridLineColor: Colors.grey[300],
    gridLineLabelColor: Colors.grey
    )
)

Full App Example

import 'package:flutter/material.dart';
import 'package:flutter_candlesticks/flutter_candlesticks.dart';

void main() {
  List sampleData = [
    {"open":50.0, "high":100.0, "low":40.0, "close":80, "volumeto":5000.0},
    {"open":80.0, "high":90.0, "low":55.0, "close":65, "volumeto":4000.0},
    {"open":65.0, "high":120.0, "low":60.0, "close":90, "volumeto":7000.0},
    {"open":90.0, "high":95.0, "low":85.0, "close":80, "volumeto":2000.0},
    {"open":80.0, "high":85.0, "low":40.0, "close":50, "volumeto":3000.0},
  ];

  runApp(
    new MaterialApp(
      home: new Scaffold(
        body: new Center(
          child: new Container(
            height: 500.0,
            child: new OHLCVGraph(
                data: sampleData,
                enableGridLines: false,
                volumeProp: 0.2
            ),
          ),
        ),
      )
    )
  );
}
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].