Buscar pacotes, repositórios e categorias de apps

Repositório GitHubthekeenant/fcharts

fcharts

📊 Crie gráficos bonitos, responsivos e animados usando uma API simples e intuitiva.

Capa do projeto fcharts
Estrelas
326
Forks
43
Último push (UTC)
22 de jun. de 2020
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

fcharts

Build Status Pub Status

A work-in-progress chart library for Flutter. Until version 1.0.0 the API is subject to change drastically. Needless to say, fcharts is not production ready.

The goal of this project is to allow for creating beautiful, responsive charts using a simple and intuitive API.

Inspired by Mikkel Ravn's tutorial on Flutter widgets and animations. If you have used Recharts (ReactJS library) you will find the high level API to be somewhat familiar.

Demo

Bar chart demo

Example Usage

class SimpleLineChart extends StatelessWidget {
  // X value -> Y value
  static const myData = [
    ["A", "✔"],
    ["B", "❓"],
    ["C", "✖"],
    ["D", "❓"],
    ["E", "✖"],
    ["F", "✖"],
    ["G", "✔"],
  ];
  
  @override
  Widget build(BuildContext context) {
    return new LineChart(
      lines: [
        new Line<List<String>, String, String>(
          data: myData,
          xFn: (datum) => datum[0],
          yFn: (datum) => datum[1],
        ),
      ],
      chartPadding: new EdgeInsets.fromLTRB(30.0, 10.0, 10.0, 30.0),
    );
  }
}

The above code creates:

line chart

Keenan GitHub avatar
Autor no GitHub

Keenan ↗

Senior Software Engineer

LinguagensDartObjective-CJava

Categorias

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 5 itens

  • flutter{"sdk":"flutter"}
  • meta^1.1.2
  • collection^1.14.5
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • testDesenvolvimento^1.3.0

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗