Start Chart

Start Chart is a simple charting package for web framework. There are good charting packages for Flutter mobile UI framework such as google charts. But, it lacks simple architecture for web framework. Also, it lacks candle charts with technical indicators.

Thus, I've made charting packages supporting web framework and candle charts.

demo

See the start examples for supported chart examples.

Example usage

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {

    return MaterialApp(
      title: 'Chart Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ChartPage(),
      debugShowCheckedModeBanner: false,
    );
  }
}

class ChartPage extends StatelessWidget {
  List<double> points = [
    50, 90, 1003, 500, 150, 120, 200, 80
  ];

  List<String> labels = [
    "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020"
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Chart Page"),
      ),
      body: Container(
        padding: const EdgeInsets.symmetric(vertical: 8.0),
        child: Center(
          child: Column(
            children: <Widget>[
              LineChart(data: points),
              Padding(padding: const EdgeInsets.symmetric(vertical: 4.0)),
              PieChart(percentage: 55),
              Padding(padding: const EdgeInsets.symmetric(vertical: 8.0)),
              BarChart(data: points, labels : labels),
            ],
          ),
        ),
      ),
    );
  }
}

Bar

bar

Candle

candle

Line

line

Pie

pie

Credits

MFW ( https://github.com/OpenFlutter/k_chart ).

Copyright (c) 2020 Benjamin Jung bsjung@gmail.com.

Libraries

bar_chart
bar_renderer
bar_widget
base_candle_painter
base_candle_renderer
candle_chart
candle_depth
candle_entity
candle_renderer
candle_style
candle_widget
data_util
date_format_util
depth_entity
entity
info_window_entity
kdj_entity
line_chart
line_renderer
line_widget
macd_entity
main_renderer
number_util
ohlc_entity
pie_chart
pie_renderer
pie_widget
rsi_entity
rw_entity
secondary_renderer
start_chart
vol_renderer
volume_entity