polygon_chart 0.0.1 copy "polygon_chart: ^0.0.1" to clipboard
polygon_chart: ^0.0.1 copied to clipboard

polygon_chart is a Flutter package which is used for visually representing the data in form of polygon charts.

Description #

Polygon charts are a visual representation used to showcase app features and data in a colorful chart form. Each feature or data point corresponds to a vertex on the polygon, and the distance from the center indicates its value. This dynamic chart provides a clear and engaging overview of app characteristics and statistics.

You can easily achieve creating beautiful polygon charts using polygon_chart flutter package without the hassel of creating custom widgets for every data.

Get started #

Add dependency You can use the command to add polygon_chart as a dependency with the latest stable version:

   $ dart pub add polygon_chart

Or you can manually add polygon_chart into the dependencies section in your pubspec.yaml:

  dependencies:
      polygon_chart: ^0.0.1

Example #

Fetching details using document file #

 import 'package:polygon_chart/polygon_chart.dart';
  
 Container(
          color: darkMode ? Colors.black : Colors.white,
          child: Center(
            child: SizedBox(
              height: 500,
              width: MediaQuery.of(context).size.width,
              child: darkMode
                  ? ChartPage.dark(
                      ticks: ticks,
                      features: features,
                      data: data,
                      reverseAxis: true,
                      useSides: true,
                    )
                  : ChartPage.light(
                      ticks: ticks,
                      features: features,
                      data: data,
                      reverseAxis: true,
                      useSides: true,
                    ),
            ),
          ),
        )

14
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

polygon_chart is a Flutter package which is used for visually representing the data in form of polygon charts.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on polygon_chart