dart_apex_charts 0.2.3

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 60

Dart Apexcharts #

A Dart API for APEXCHARTS using dart:js.

Usage #

To understand usage, see the example source code and the corresponding output.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

License #

ApexCharts is released under MIT license. You are free to use, modify and distribute this software, as long as the copyright header is left intact.

0.0.1 #

  • Initial version, created by Stagehand

0.2.0 #

  • Add example, some docs

0.2.1 #

  • Add strong mode analyser

example/dart_apex_charts_example.dart

import 'package:dart_apex_charts/dart_apex_charts.dart';

void main() {
  Map<String, dynamic> options = <String, dynamic>{
    'chart': {
      'height': 380,
      'type': 'bar',
    },
    'plotOptions': {
      'bar': {
        'horizontal': true,
      }
    },
    'dataLabels': {'enabled': false},
    'series': [
      {
        'data': [400, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380]
      }
    ],
    'xaxis': {
      'categories': [
        'South Korea',
        'Canada',
        'United Kingdom',
        'Netherlands',
        'Italy',
        'France',
        'Japan',
        'United States',
        'China',
        'Germany'
      ],
    },
    'yaxis': <String, dynamic>{},
    'tooltip': <String, dynamic>{}
  };
  ApexCharts chart = ApexCharts('#chart', options);
  chart.render();
}

Use this package as a library

1. Depend on it

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


dependencies:
  dart_apex_charts: ^0.2.3

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:dart_apex_charts/dart_apex_charts.dart';
  
Version Uploaded Documentation Archive
0.2.5 Mar 14, 2019 Go to the documentation of dart_apex_charts 0.2.5 Download dart_apex_charts 0.2.5 archive
0.2.4 Sep 11, 2018 Go to the documentation of dart_apex_charts 0.2.4 Download dart_apex_charts 0.2.4 archive
0.2.3 Sep 7, 2018 Go to the documentation of dart_apex_charts 0.2.3 Download dart_apex_charts 0.2.3 archive
0.2.1 Sep 7, 2018 Go to the documentation of dart_apex_charts 0.2.1 Download dart_apex_charts 0.2.1 archive
0.2.0 Sep 7, 2018 Go to the documentation of dart_apex_charts 0.2.0 Download dart_apex_charts 0.2.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
19
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
60
Learn more about scoring.

We analyzed this package on May 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15

Platforms

Detected platforms: web

Primary library: package:dart_apex_charts/dart_apex_charts.dart with components: html, js.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
build_runner >=0.8.10 <0.11.0
build_web_compilers >=0.3.6 <0.5.0