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
- Host: GitHub
- URL: https://github.com/schickling/angular-coordinate
- Owner: schickling
- Created: 2013-09-19T18:43:56.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-29T20:08:51.000Z (almost 13 years ago)
- Last Synced: 2025-08-29T14:03:42.507Z (11 months ago)
- Language: JavaScript
- Size: 2.27 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
[](https://bitdeli.com/free "Bitdeli Badge")