charts_painter 2.0.0+2 charts_painter: ^2.0.0+2 copied to clipboard
Highly customizable and extendable charts library for flutter made with custom painters
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: ^2.0.0+2
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/data_strategy/data_strategy.dart';
import 'package:charts_painter/chart/model/data_strategy/default_data_strategy.dart';
import 'package:charts_painter/chart/model/data_strategy/stack_data_strategy.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/render/chart_renderer.dart';
import 'package:charts_painter/chart/render/data_renderer/chart_data_renderer.dart';
import 'package:charts_painter/chart/render/data_renderer/chart_linear_data_renderer.dart';
import 'package:charts_painter/chart/render/decorations/border_decoration.dart';
import 'package:charts_painter/chart/render/decorations/decoration_painter.dart';
import 'package:charts_painter/chart/render/decorations/grid_decoration.dart';
import 'package:charts_painter/chart/render/decorations/horizontal_axis_decoration.dart';
import 'package:charts_painter/chart/render/decorations/renderer/chart_decoration_child_renderer.dart';
import 'package:charts_painter/chart/render/decorations/renderer/chart_decoration_renderer.dart';
import 'package:charts_painter/chart/render/decorations/selected_item_decoration.dart';
import 'package:charts_painter/chart/render/decorations/spark_line_decoration.dart';
import 'package:charts_painter/chart/render/decorations/target_decoration.dart';
import 'package:charts_painter/chart/render/decorations/target_legends_decoration.dart';
import 'package:charts_painter/chart/render/decorations/value_decoration.dart';
import 'package:charts_painter/chart/render/decorations/vertical_axis_decoration.dart';
import 'package:charts_painter/chart/render/decorations_renderer.dart';
import 'package:charts_painter/chart/render/geometry/leaf_item_renderer.dart';
import 'package:charts_painter/chart/render/geometry/painters/bar_geometry_painter.dart';
import 'package:charts_painter/chart/render/geometry/painters/bubble_geometry_painter.dart';
import 'package:charts_painter/chart/render/geometry/painters/geometry_painter.dart';
import 'package:charts_painter/chart/render/util/dashed_path_util.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';