Giter VIP home page Giter VIP logo

aman-netizen-ux / tam-chart Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 834 KB

The TAM Chart package is a powerful and easy-to-use Flutter library for creating and displaying animated custom charts representing Total Addressable Market (TAM) data. This package allows you to visualize complex market data

Home Page: https://pub.dev/packages/tam_chart

License: MIT License

Kotlin 0.17% Swift 2.33% Objective-C 0.05% Dart 35.79% CMake 26.18% C++ 31.08% C 1.92% HTML 2.48%

tam-chart's Introduction

TAM Chart

Pub Version License

A customizable charting package for Flutter, supporting all platforms.

A powerful and easy-to-use Flutter library for creating and displaying animated charts representing Total Addressable Market (TAM) data.

Features

  • Animated Charts: Animate the TAM, SAM, and SOM circles with configurable durations.
  • Customizable Styles: Customize colors and text styles for each circle to match your app's theme.
  • Flexible Positioning: Position the SOM circle within the chart using predefined positions (top, bottom, left, right, center).
  • Readable Numeric Values: Format numeric values into readable strings (e.g., 1.5K for 1500, 1.5M for 1500000).
  • Easy Integration: Seamlessly integrate the package into your Flutter project with minimal setup.

Installing

dependencies:
  tam_chart: ^1.0.0

Import

import 'package:tam_chart/tam_chart.dart';

How To Use

final chart= TAMChart(
            tamChartData: TAMChartData(
                duration: 16,
                tamTextColor: Colors.brown,
                samTextColor: Colors.white,
                somTextColor: Colors.black,
                tam: 450,
                sam: 13090,
                som: 750978,
                tamColor: Colors.pink,
                samColor: Colors.blue.shade100,
                somColor: Colors.green,
                somPosition: SomPositions.top),
            fontSize: 10,
            size: const Size(200, 200));

Showcase

Here is an example screenshot of the TAM Chart in action:

Example Screenshot

Suggestions & Bugs

For any suggestions or bug report please head to issue tracker. If you feel library is missing a feature, pull request are welcome

Authors

Aman Gautam

Abha Agarwal

License

MIT License

tam-chart's People

Contributors

spicysnowe avatar aman-netizen-ux avatar

Watchers

 avatar  avatar

Forkers

spicysnowe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.