A package for creating simple yet modern looking charts.
modern_charts combines Canvas and DOM to achieve the best performance and experience.
Data are passed to a chart via a
DataTable object. By using
can flexibly modify the data even after the chart has been rendered.
Animations are supported for different types of data modifications:
Charts automatically resize when the browser is resized.
Each chart type has its own class, so your final production code only contains the code of the chart types you use.
Please read the wiki for instructions on how to use these beautiful charts.
animation:easingnow accepts a function
minIntervalsetting to BarChart, LineChart, and RadarChart
Add this to your package's pubspec.yaml file:
dependencies: modern_charts: "^0.1.12"
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.12||Sep 11, 2017|
|0.1.11||Aug 24, 2017|
|0.1.10||Aug 21, 2017|
|0.1.9||Aug 20, 2017|
|0.1.8||Aug 10, 2017|
|0.1.7||Jun 9, 2017|
|0.1.6||Jun 8, 2017|
|0.1.5||Jun 6, 2017|
|0.1.4||Jun 6, 2017|
|0.1.3||Jun 5, 2017|
We analyzed this package on Apr 9, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: web
Use constrained dependencies.
pubspec.yamlcontains 1 dependency without version constraints. Specify version ranges for the following dependencies:
Fix analysis and formatting issues.
Analysis or formatting checks reported 3 warnings 28 hints.
Strong-mode analysis of
lib/src/base.dartgave the following warning:
line: 665 col: 26
A function of type '(MouseEvent) → void' can't be assigned to a location of type '(dynamic) → void'.
Strong-mode analysis of
lib/src/animation.dartgave the following hint:
line: 86 col: 22
'PI' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use