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.
Chart.updateis called while the width or height of the chart is zero
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.13
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.13||Jul 9, 2018|
|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|
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]
We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: web
lib/src/base.dart failed with 8 errors, including:
line 109 col 18: Const variables must be initialized with a constant value.
line 109 col 18: Undefined name 'PI'.
line 112 col 15: Const variables must be initialized with a constant value.
line 112 col 15: Undefined name 'PI'.
line 998 col 58: The getter 'NEGATIVE_INFINITY' isn't defined for the class 'double'.
lib/src/radar.dart failed with 8 errors, including:
line 175 col 25: The getter 'MAX_FINITE' isn't defined for the class 'double'.
line 176 col 25: The getter 'MAX_FINITE' isn't defined for the class 'double'.
line 177 col 26: The getter 'MAX_FINITE' isn't defined for the class 'double'.
line 178 col 26: The getter 'MAX_FINITE' isn't defined for the class 'double'.
line 188 col 16: Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Parameter 'a' declared as 'T'\n but argument is 'dynamic'.\n Parameter 'b' declared as 'T'\n but argument is 'double'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
Use constrained dependencies.
pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies:
Documentation URL does not exists.
We were unable to access
https://github.com/jolleekin/modern_charts/wiki/Docs at the time of the analysis.
Add SDK constraint in
For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.
Fix additional 4 files with analysis or formatting issues.
Additional issues in the following files:
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 of the API.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
.analysis_options file to