ssun_chart 0.0.10 ssun_chart: ^0.0.10 copied to clipboard
Flutter Chart Library
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ssun_chart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ssun_chart: ^0.0.10
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ssun_chart/bar_chart.dart';
import 'package:ssun_chart/line_chart.dart';
import 'package:ssun_chart/model/bar_data.dart';
import 'package:ssun_chart/model/line_data.dart';
import 'package:ssun_chart/model/pie_data.dart';
import 'package:ssun_chart/model/radar_data.dart';
import 'package:ssun_chart/pie_chart.dart';
import 'package:ssun_chart/radar_chart.dart';
import 'package:ssun_chart/ui/bar_chart.dart';
import 'package:ssun_chart/ui/line_chart.dart';
import 'package:ssun_chart/ui/pie_chart.dart';
import 'package:ssun_chart/ui/radar_chart.dart';
import 'package:ssun_chart/utils/utils.dart';
import 'package:ssun_chart/utils/value_formatter.dart';