flutter_chartx 1.0.0-dev8
flutter_chartx: ^1.0.0-dev8 copied to clipboard
This package offers widgets for drawing simple to complex charts with customizable options like visibility, color, line width, line color, text color, and more.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_chartx
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_chartx: ^1.0.0-dev8
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:flutter_chartx/components/ChartAnimation.dart';
import 'package:flutter_chartx/components/ChartBehavior.dart';
import 'package:flutter_chartx/components/ChartColor.dart';
import 'package:flutter_chartx/components/ChartController.dart';
import 'package:flutter_chartx/components/ChartLabeledData.dart';
import 'package:flutter_chartx/components/ChartPosition.dart';
import 'package:flutter_chartx/components/ChartState.dart';
import 'package:flutter_chartx/components/ChartTooltip.dart';
import 'package:flutter_chartx/components/types.dart';
import 'package:flutter_chartx/flutter_chart.dart';
import 'package:flutter_chartx/widgets/ChartContext.dart';
import 'package:flutter_chartx/widgets/ChartDetector.dart';
import 'package:flutter_chartx/widgets/ChartOverlay.dart';
import 'package:flutter_chartx/widgets/ChartPainter.dart';
import 'package:flutter_chartx/widgets/ChartStyle.dart';
import 'package:flutter_chartx/widgets/ColumnChart.dart';
import 'package:flutter_chartx/widgets/DrivenChart.dart';