Coder Social home page Coder Social logo

highcharts's Introduction

highcharts

highcharts is a wrapper of Highcharts in Dart.

Install from Dart Pub Repository

Include the following in your pubspec.yaml:

dependencies:
  rikulo_highcharts: any

Then run the Pub Package Manager in Dart Editor (Tool > Pub Install). If you are using a different editor, run the command (comes with the Dart SDK):

pub install

Usage

Add this lines to the main html of your application (index.html) in the head section.

<script src="your-js-lib/highcharts.js"></script>

You can create a chart object and chart model.

import 'dart:html';
import 'package:rikulo_highcharts/rikulo_highcharts.dart';

main() {
  ColumnChart chart = new ColumnChart();
  querySelector('#cnt').append(chart.element);

  CategoryModel<String, String> model = new DefaultCategoryModel<String, String>();
  model.setValue('Tokyo', 'Jan', 16);
  model.setValue('Tokyo', 'Feb', 6);
  model.setValue('Tokyo', 'Mar', 6);
  model.setValue('Tokyo', 'Apr', 3);

  model.setValue('New York', 'Jan', 18);
  model.setValue('New York', 'Feb', 12);
  model.setValue('New York', 'Mar', 9);
  model.setValue('New York', 'Apr', 14);

  chart.model = model;
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.

highcharts's People

Contributors

crazywater avatar enyo avatar jerrywell avatar jimmyshiau avatar scribetw avatar whiterzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

highcharts's Issues

chart designs

Hi @rikulo i am interested in creating such libraries across the chartjs datatables pivottable.js in dart languages
Please give me some suggestions in creating such libraries

No static method 'ChartOptions.' declared in class 'ChartOptions'

rikulo_highcharts 0.1.1
Dart 1.24.3

I'm trying to add model to chart (from example)
And I recieved an error:
VM5817:1 EXCEPTION: NoSuchMethodError: No static method 'ChartOptions.' declared in class 'ChartOptions'.
Receiver: Type: class 'ChartOptions'
Tried calling: ChartOptions.()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.