FLUTTER ECOSYSTEM

merixstudio/mrx-flutter-charts

Einfache und schöne glatte animierte Diagramme.

Projektcover von mrx-flutter-charts
Stars
74
Forks
19
Letzter Push (UTC)
16.02.2023
Projektstatus
Aktiv
Merixstudio GitHub avatar
GITHUB Organization

Merixstudio ↗

We are a full-stack team ready to plan, design and develop your web applications & digital products. We love startups!

Poznań, PolandOffizielle Website ↗
SprachenDartHTMLSwiftKotlinObjective-C

Technische Themen

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^1.0.0

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

Charts Flutter

Simple and beautiful smooth animated charts.

Supported charts

Bar

Screenshot1

Group bar

Screenshot2

Candle

Screenshot3

Line

Screenshot4

Pie

Screenshot5

Example

Check /example folder for more detailed usage

Chart(
  layers: [
    ChartAxisLayer(
      settings: ChartAxisSettings(
        x: ChartAxisSettingsAxis(
          frequency: 1.0,
          max: 13.0,
          min: 7.0,
          textStyle: TextStyle(
            color: Colors.white.withOpacity(0.6),
            fontSize: 10.0,
            ),
          ),
          y: ChartAxisSettingsAxis(
            frequency: 100.0,
            max: 300.0,
            min: 0.0,
            textStyle: TextStyle(
              color: Colors.white.withOpacity(0.6),
              fontSize: 10.0,
            ),
          ),
        ),
        labelX: (value) => value.toInt().toString(),
        labelY: (value) => value.toInt().toString(),
      ),
      ChartBarLayer(
        items: List.generate(
          13 - 7 + 1,
          (index) => ChartBarDataItem(
            color: const Color(0xFF8043F9),
            value: Random().nextInt(280) + 20,
            x: index.toDouble() + 7,
          ),
        ),
        settings: const ChartBarSettings(
          thickness: 8.0,
          radius: BorderRadius.all(Radius.circular(4.0)),
        ),
      ),
    ]
  ],
)

About

Developed with passion, by Merixstudio developers.