An open API service indexing awesome lists of open source software.

https://github.com/schickling/angular-coordinate

Coordiante system for AngularJS
https://github.com/schickling/angular-coordinate

Last synced: 11 months ago
JSON representation

Coordiante system for AngularJS

Awesome Lists containing this project

README

          

angular-coordinate
==================

Coordiante system for AngularJS

## [Demo](http://schickling.github.io/angular-coordinate/)

## Features
* Drag & Drop
* Zoom
* Easy to use

## Installation
```sh
$ bower install angular-coordinate
```

## Usage

#### View
```html

```

##### Available attributes
* width
* height
* scaleX
* scaleY
* fullscreen
* show-input
* api

#### Controller
You need to provide a function called `coordinate` in your scope to access the API
```js
$scope.coordinate = function (coordinate) {
coordinate.addPoint(1, 1);
coordinate.addFunction('x^3');
};
```

##### API
*TODO*

## Coming soon...
* Smarter scaling on zoom
* Tests
* current x value on graph
* scroll/zoom
* axis labels ('intelligent')
* display area current point x/y
* drag drop
* fullscreen

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/schickling/angular-coordinate/trend.png)](https://bitdeli.com/free "Bitdeli Badge")