{"id":13573580,"url":"https://github.com/thekeenant/fcharts","last_synced_at":"2025-10-27T22:16:41.881Z","repository":{"id":56828740,"uuid":"125956063","full_name":"thekeenant/fcharts","owner":"thekeenant","description":":bar_chart: Create beautiful, responsive, animated charts using a simple and intuitive API.","archived":false,"fork":false,"pushed_at":"2020-06-22T13:47:44.000Z","size":326,"stargazers_count":325,"open_issues_count":11,"forks_count":45,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-30T07:11:13.608Z","etag":null,"topics":["animated","animation","charting-library","charts","dart","flutter","library"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/fcharts","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thekeenant.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-20T03:34:34.000Z","updated_at":"2024-12-27T09:14:50.000Z","dependencies_parsed_at":"2022-08-26T13:50:57.746Z","dependency_job_id":null,"html_url":"https://github.com/thekeenant/fcharts","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekeenant%2Ffcharts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekeenant%2Ffcharts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekeenant%2Ffcharts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thekeenant%2Ffcharts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thekeenant","download_url":"https://codeload.github.com/thekeenant/fcharts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457800,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated","animation","charting-library","charts","dart","flutter","library"],"created_at":"2024-08-01T15:00:37.894Z","updated_at":"2025-10-27T22:16:36.835Z","avatar_url":"https://github.com/thekeenant.png","language":"Dart","funding_links":[],"categories":["组件","Components","Charts [🔝](#readme)"],"sub_categories":["图表","Map","Charts"],"readme":"# fcharts \n[![Build Status](https://travis-ci.org/thekeenant/fcharts.svg?branch=master)](https://travis-ci.org/thekeenant/fcharts)\n[![Pub Status](https://img.shields.io/pub/v/fcharts.svg)](https://pub.dartlang.org/packages/fcharts)\n\nA **work-in-progress** chart library for [Flutter](https://flutter.io). Until version `1.0.0` the API is subject to change\ndrastically. Needless to say, fcharts is _not_ production ready.\n\nThe goal of this project is to allow for creating beautiful, responsive charts using a simple \nand intuitive API.\n\nInspired by \n[Mikkel Ravn's tutorial](https://medium.com/flutter-io/zero-to-one-with-flutter-43b13fd7b354) \non Flutter widgets and animations. If you have used [Recharts](https://recharts.org) (ReactJS \nlibrary) you will find the high level API to be somewhat familiar.\n\n## Demo\n\n![Bar chart demo](https://i.imgur.com/D1Rd7jk.gif) \n\n\u003c!-- ![Touch demo](https://i.imgur.com/pvHhenr.gif) --\u003e\n\n## Example Usage\n\n```dart\nclass SimpleLineChart extends StatelessWidget {\n  // X value -\u003e Y value\n  static const myData = [\n    [\"A\", \"✔\"],\n    [\"B\", \"❓\"],\n    [\"C\", \"✖\"],\n    [\"D\", \"❓\"],\n    [\"E\", \"✖\"],\n    [\"F\", \"✖\"],\n    [\"G\", \"✔\"],\n  ];\n  \n  @override\n  Widget build(BuildContext context) {\n    return new LineChart(\n      lines: [\n        new Line\u003cList\u003cString\u003e, String, String\u003e(\n          data: myData,\n          xFn: (datum) =\u003e datum[0],\n          yFn: (datum) =\u003e datum[1],\n        ),\n      ],\n      chartPadding: new EdgeInsets.fromLTRB(30.0, 10.0, 10.0, 30.0),\n    );\n  }\n}\n```\n\nThe above code creates:\n\n![line chart](https://i.imgur.com/839SSin.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekeenant%2Ffcharts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthekeenant%2Ffcharts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthekeenant%2Ffcharts/lists"}