https://github.com/timeu/dy-graphs
Polymer custom element wrapper around dygraphs.com
https://github.com/timeu/dy-graphs
Last synced: 6 months ago
JSON representation
Polymer custom element wrapper around dygraphs.com
- Host: GitHub
- URL: https://github.com/timeu/dy-graphs
- Owner: timeu
- License: mit
- Created: 2015-07-23T16:07:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T13:04:28.000Z (almost 10 years ago)
- Last Synced: 2026-01-16T16:14:58.544Z (6 months ago)
- Language: HTML
- Size: 1.79 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
# <dy-graphs>
This is a simple Polymer custom element wrapper around [Dygraphs](http://dygraphs.com/)
## Demo
> [Check it live](http://timeu.github.io/dy-graphs/components/dy-graphs/demo/index.html).
## Install
Install the component using [Bower](http://bower.io/):
```sh
$ bower install dy-graphs --save
```
Or [download as ZIP](https://github.com/timeu/dy-graphs/archive/master.zip).
## Simple Demo
```html
```
## Usage
1. Import Web Components' polyfill:
```html
```
2. Import Custom Element:
```html
```
3. Start using it!
Example with static options:
```html
```
Example with data binding
```html
```
Interact with dygraph object directly:
```html
var g = document.querySelector('#graph');
g.dygraph.resetZoom();
```
## Options
See the [component page](http://timeu.github.io/dy-graphs) for more information.
## Browser Support
 |  |  |  | 
--- | --- | --- | --- | --- |
IE 10+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## History
Check [Release](https://github.com/timeu/dy-graphs/releases) list.
## License
[MIT License](http://timeu.mit-license.org/) © Ümit Seren