chart 1.0.8

  • README.md
  • Installing
  • Versions
  • 52

Chart.dart

This is a DartLang port of Chart.js by Nick Downie. For more informations to Chart.js see: http://www.chartjs.org/

Implemented Features

  • Chart types:
    • Line-Chart
    • Bar-Chart
    • Bool-Chart
  • Features:
    • Animations
    • config and default config
    • The possibility to add unlimited points between two labels.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  chart: "^1.0.8"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:chart/chart.dart';
        
Version Uploaded Documentation Archive
1.0.8 Mar 6, 2015 Go to the documentation of chart 1.0.8 Download chart 1.0.8 archive
1.0.7 Mar 2, 2015 Go to the documentation of chart 1.0.7 Download chart 1.0.7 archive
1.0.6 Jan 7, 2015 Go to the documentation of chart 1.0.6 Download chart 1.0.6 archive
1.0.5 Nov 11, 2014 Go to the documentation of chart 1.0.5 Download chart 1.0.5 archive
1.0.4 Nov 11, 2014 Go to the documentation of chart 1.0.4 Download chart 1.0.4 archive
1.0.3 Nov 6, 2014 Go to the documentation of chart 1.0.3 Download chart 1.0.3 archive
1.0.2 Nov 4, 2014 Go to the documentation of chart 1.0.2 Download chart 1.0.2 archive
1.0.1 Nov 4, 2014 Go to the documentation of chart 1.0.1 Download chart 1.0.1 archive
1.0.0 Nov 3, 2014 Go to the documentation of chart 1.0.0 Download chart 1.0.0 archive
0.3.7 Jan 28, 2014 Go to the documentation of chart 0.3.7 Download chart 0.3.7 archive

All 34 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Jan 21, 2018
  • Dart: 2.0.0-dev.15.0
  • pana: 0.10.0

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
52 / 100
Health:
Code health derived from static analysis. [more]
88 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
52

Platforms

Detected platforms: web

Primary library: package:chart/chart.dart.

Suggestions

  • Fix lib/src/base.dart.

    Strong-mode analysis of lib/src/base.dart failed with the following error:

    line: 144 col: 38
    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 'num'.\n Parameter 'b' declared as 'T'\n but argument is 'dynamic'.\n\nConsider passing explicit type argument(s) to the generic.\n\n

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • Use constrained dependencies.

    The pubspec.yaml contains 2 dependencies without version constraints. Specify version ranges for the following dependencies: browser, intl.

  • 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.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use chart.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
browser any 0.10.0+2
intl any 0.15.2
Transitive dependencies
path 1.5.1