Giter Site home page Giter Site logo

svgcharts's Introduction

Angular Svg Charts

SVG charting software that can be used as a stand alone application or used as an AngularJS directive. Feed the application data and it will update in real time. Dynamically customize the look by changing the colors of the text and axis lines. Switch between chart types such as line charts or candlestick charts. Add extras such as Bollinger bands or moving average.

*This is currently under construction and I am currently building out the Kagi chart logic.

Built using AngularJS and D3.js for visualizations.

![alt tag] (https://github.com/timstrze/svgCharts/blob/master/app/images/screen-shot.png) ![alt tag] (https://github.com/timstrze/svgCharts/blob/master/app/images/screen-shot-2.png)

First Install

Clone the front end repo svgCharts:

git clone https://github.com/timstrze/svgCharts.git

Install generator-angular:

npm install -g generator-angular

Install node-modules:

npm install

Install bower-components:

bower install

Grunt Server

Launch your express server in development mode. This will also start the live-reload server to watch js, css, and html files.

grunt serve

Livereload

grunt serve will watch client files in app/ restarting the Grunt server when a change is detected.

Deployment

To generate a dist folder that can easily be deployed use:

grunt

This will run unit tests, jshint, concatenate and minify scripts/css, compress images, add css vendor prefixes, and finally copy all files to a tidy dist folder.

Alternatively to skip tests and jshint, use:

grunt build

Generators

All of the generator-angular client side generators are available.

Angular sub-generators:

Note: Generators are to be run from the root directory of your app.

Add to Index

By default, new scripts are added to the index file. However, this may not always be suitable. Some use cases:

  • Manually added to the file
  • Auto-added by a 3rd party plugin
  • Using this generator as a sub-generator

To skip adding them to the index, pass in the skip-add argument:

yo angular:service serviceName --skip-add

Testing

Running grunt test will run the client unit tests with karma and mocha.

svgcharts's People

Contributors

tstrzelecki avatar

Stargazers

 avatar

Watchers

James Cloos avatar Timothy Strzelecki 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.