chart_components 0.1.2 copy "chart_components: ^0.1.2" to clipboard
chart_components: ^0.1.2 copied to clipboard

outdated

Two chart components for Flutter. An animated bar chart with label, value, icon and bar color. An animated calendar grid chart based on the github calendar.

Chart_Components #

  • Animated bar chart for Flutter. Easy to implement and customize.
  • Animated calendar grid for Flutter.

Demo #

Demo:

Usage #

To use plugin, just import package import 'package:chart_components/chart_components.dart';

Example #

Check de example directory to access the project that implements the image shown above.

        ........
                    CalendarGrid(
                            year: 2020,
                            month: 1,
                            getColorOfDay: DataRepository.getDayColor,
                            animationDuration: Duration(milliseconds: 1500),
                    ),

        ...........
                    child: BarChart(
                    data: data,
                    labels: labels,
                    dislplayValue: true,
                    reverse: true,
                    getColor: DataRepository.getColor,
                    getIcon: DataRepository.getIcon,
                    barWidth: 42,
                    barSeparation: 12,
                    animationDuration: Duration(milliseconds: 1800),
                    animationCurve: Curves.easeInOutSine,
                    itemRadius: 30,
                    iconHeight: 24,
                    footerHeight: 24,
                    headerValueHeight: 16,
                    roundValuesOnText: false,
                    lineGridColor: Colors.lightBlue,
                    ),
48
likes
0
pub points
75%
popularity

Publisher

unverified uploader

Two chart components for Flutter. An animated bar chart with label, value, icon and bar color. An animated calendar grid chart based on the github calendar.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on chart_components