GithubHelp home page GithubHelp logo

ejb / axisjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from times/axisjs

0.0 2.0 0.0 2.51 MB

Open-source framework for creating simple interactive graphs

License: MIT License

JavaScript 68.76% HTML 27.89% CSS 3.36%

axisjs's Introduction

axisJS Build Status

axisJS is a light Angular-based app for generating charts. It combines with the AxisWP WordPress plugin to add rich charting capabilities to WordPress.

Live demo of AxisJS here

axisJS is built atop the Yeoman Angular generator and currently makes use of C3 to build charts.

axisJS owes a huge debt of gratitude to Quartz's ChartBuilder, from where much of the PNG/SVG output code is taken (in addition to some of the interface design).

Bower

bower install axisjs

Project goals

  1. Enable easy integration of various D3-based frameworks into a simple interface
  2. Enable a wide array of data input methods
  3. Be modular enough to allow charting frameworks to easily be replaced
  4. Allow for straight-forward customisation and styling
  5. Allow for easy integration into existing content management systems
  6. Allow journalists to easily create charts that are embeddable across a wide array of devices and media

To build

  1. npm install
  2. bower install
  3. grunt build

Modifying

The source is in the app folder, which gets built to dist when you do grunt build. When working on it, run grunt serve to invoke a light HTTP server that auto-reloads the page when you save a file. Styles are in Sass at app/styles.

Contributing

Please do a new feature branch when forking and squash your commits before making a pull request. Pull requests welcomed and encouraged. I especially welcome any documentation or unit testing PRs!

API Docs

Inline documentation is in ngDoc format and gets built to docs during grunt build. View API docs online here.

Roadmap/ToDos

  • Abstract chart configuration into a provider so that app/scripts/directives/buildchart.js and app/scripts/directives/exportchart.js aren't so tightly bound to C3
  • ALL the unit tests
  • Documentation and cleanup of buildchart.js and exportchart.js
  • Abstract each output format into factories so more can be modularly added
  • Abstract out vendor functionality — i.e., make the colour picker replaceable
  • Create an external config file with settings like colour scheme
  • Improve inline documentation
  • Make adding categorical axes more straight-forward
  • Create adapters for nvd3 and other SVG-based charting libraries.

axisjs's People

Contributors

ejb avatar rexmondo avatar

Watchers

 avatar  avatar

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.