All Projects → jja08111 → time_chart

jja08111 / time_chart

Licence: BSD-3-Clause license
A scrollable time chart in Flutter.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to time chart

Fl chart
A powerful Flutter chart library, currently supporting Line Chart, Bar Chart, Pie Chart, Scatter Chart and Radar Chart.
Stars: ✭ 3,882 (+18385.71%)
Mutual labels:  chart, barchart
jquery-linechart
JQuery plugin for creating charts
Stars: ✭ 42 (+100%)
Mutual labels:  chart, barchart
leaflet.minichart
Leaflet.minichart is a leaflet plugin for adding to a leaflet map small animated charts
Stars: ✭ 27 (+28.57%)
Mutual labels:  chart, barchart
flutter feather icons
Flutter package for Feather Icons
Stars: ✭ 33 (+57.14%)
Mutual labels:  flutter-package
d3node-barchart
BarChart module using D3-Node
Stars: ✭ 18 (-14.29%)
Mutual labels:  barchart
bar-horizontal
Create beautiful horizontal charts, that fit your terminal.
Stars: ✭ 36 (+71.43%)
Mutual labels:  chart
eva icons flutter
Flutter package for Eva Icons. Eva Icons is a pack of more than 480 beautifully crafted Open Source icons for common actions and items. https://pub.dartlang.org/packages/eva_icons_flutter
Stars: ✭ 80 (+280.95%)
Mutual labels:  flutter-package
nepali date picker
Material Style Date Picker with Bikram Sambat(Nepali) Calendar Support. Supports both Android and ios.
Stars: ✭ 30 (+42.86%)
Mutual labels:  flutter-package
flutter material showcase
Material Design components showcase for Flutter apps. Use to check ThemeData with most Material widgets.
Stars: ✭ 22 (+4.76%)
Mutual labels:  flutter-package
android-charts
A curated list of Android Chart libraries.
Stars: ✭ 69 (+228.57%)
Mutual labels:  chart
britecharts-react
Britecharts-react is a React wrapper for the Britecharts charting library. It allows the use of Britecharts charts within a React application.
Stars: ✭ 110 (+423.81%)
Mutual labels:  chart
water drop nav bar
flutter navigation bar with water drop effect.
Stars: ✭ 29 (+38.1%)
Mutual labels:  flutter-package
BarChart
SwiftUI Bar Chart
Stars: ✭ 156 (+642.86%)
Mutual labels:  chart
lang table
lang_table is a dart plugin to generate string files from a source. Use a table to manage all multi-language resources. Inspired by fetch-mobile-localization-from-airtable
Stars: ✭ 17 (-19.05%)
Mutual labels:  flutter-package
better-access-charts
Better charts for Access with chart.js
Stars: ✭ 19 (-9.52%)
Mutual labels:  chart
reactive state
An easy to understand reactive state management solution for Flutter.
Stars: ✭ 19 (-9.52%)
Mutual labels:  flutter-package
LMGraphView
LMGraphView is a simple and customizable graph view for iOS.
Stars: ✭ 61 (+190.48%)
Mutual labels:  chart
stacked-gantt
JQuery Gantt-like chart with stacked activities/tasks, providing conciser information.
Stars: ✭ 19 (-9.52%)
Mutual labels:  chart
ONE-ReactNative
As a practicing project, ONE - ReactNative contains many of the features we often use, such as Axios,Fetch, Redux, Charts, etc. It is also worth learning that the project contains a complete mall module.
Stars: ✭ 71 (+238.1%)
Mutual labels:  chart
awesome-tools
Open-source list of awesome data visualization tools (e.g., charting libraries) for software developers 📊📈
Stars: ✭ 47 (+123.81%)
Mutual labels:  chart

time_chart

pub package

An amazing time chart in Flutter.

Chart Types

TimeChart AmountChart

Getting Started

1 - Depend on it

Add it to your package's pubspec.yaml file

dependencies:
  time_chart: ^0.3.4

2 - Install it

Install packages from the command line

flutter packages get

3 - Usage

Just input your DateTimeRange list to data: argument. The list must be sorted. First data is latest, last data is oldest.

Example

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

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

class MyApp extends StatelessWidget {

  // Data must be sorted.
  final data = [
    DateTimeRange(
      start: DateTime(2021,2,24,23,15),
      end: DateTime(2021,2,25,7,30),
    ),
    DateTimeRange(
      start: DateTime(2021,2,22,1,55),
      end: DateTime(2021,2,22,9,12),
    ),
    DateTimeRange(
      start: DateTime(2021,2,20,0,25),
      end: DateTime(2021,2,20,7,34),
    ),
    DateTimeRange(
      start: DateTime(2021,2,17,21,23),
      end: DateTime(2021,2,18,4,52),
    ),
    DateTimeRange(
      start: DateTime(2021,2,13,6,32),
      end: DateTime(2021,2,13,13,12),
    ),
    DateTimeRange(
      start: DateTime(2021,2,1,9,32),
      end: DateTime(2021,2,1,15,22),
    ),
    DateTimeRange(
      start: DateTime(2021,1,22,12,10),
      end: DateTime(2021,1,22,16,20),
    ),
  ];

  @override
  Widget build(BuildContext context) {
    final sizedBox = const SizedBox(height: 16);

    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Time chart example app')),
        body: SingleChildScrollView(
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: Column(
              children: [
                const Text('Weekly time chart'),
                TimeChart(
                  data: data,
                  viewMode: ViewMode.weekly,
                ),
                sizedBox,
                const Text('Monthly time chart'),
                TimeChart(
                  data: data,
                  viewMode: ViewMode.monthly,
                ),
                sizedBox,
                const Text('Weekly amount chart'),
                TimeChart(
                  data: data,
                  chartType: ChartType.amount,
                  viewMode: ViewMode.weekly,
                  barColor: Colors.deepPurple,
                ),
                sizedBox,
                const Text('Monthly amount chart'),
                TimeChart(
                  data: data,
                  chartType: ChartType.amount,
                  viewMode: ViewMode.monthly,
                  barColor: Colors.deepPurple,
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Supported languages

English Korean

You can also use korean language by Internationalizing Flutter apps.

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].