charts_painter 1.0.0 charts_painter: ^1.0.0 copied to clipboard
Highly customizable charts library for flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add charts_painter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
charts_painter: ^1.0.0
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:charts_painter/chart.dart';
import 'package:charts_painter/chart/model/chart_state.dart';
import 'package:charts_painter/chart/model/data/chart_data.dart';
import 'package:charts_painter/chart/model/geometry/bar_value_item.dart';
import 'package:charts_painter/chart/model/geometry/bubble_value_item.dart';
import 'package:charts_painter/chart/model/geometry/candle_value_item.dart';
import 'package:charts_painter/chart/model/geometry/chart_item.dart';
import 'package:charts_painter/chart/model/theme/chart_behaviour.dart';
import 'package:charts_painter/chart/model/theme/item_theme/bar_item_options.dart';
import 'package:charts_painter/chart/model/theme/item_theme/item_options.dart';
import 'package:charts_painter/chart/model/theme/item_theme/line_item_options.dart';
import 'package:charts_painter/chart/painter/chart_painter.dart';
import 'package:charts_painter/chart/painter/decorations/border_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/decoration_painter.dart';
import 'package:charts_painter/chart/painter/decorations/grid_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/horizontal_axis_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/selected_item_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/spark_line_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/target_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/target_legends_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/value_decoration.dart';
import 'package:charts_painter/chart/painter/decorations/vertical_axis_decoration.dart';
import 'package:charts_painter/chart/painter/geometry/bar_geometry_painter.dart';
import 'package:charts_painter/chart/painter/geometry/bubble_geometry_painter.dart';
import 'package:charts_painter/chart/painter/geometry/geometry_painter.dart';
import 'package:charts_painter/chart/widgets/animated_chart.dart';
import 'package:charts_painter/chart/widgets/chart.dart';
import 'package:charts_painter/chart/widgets/chart_widget.dart';