{"id":18569440,"url":"https://github.com/timeu/dy-graphs","last_synced_at":"2026-01-24T12:37:01.177Z","repository":{"id":35315866,"uuid":"39577444","full_name":"timeu/dy-graphs","owner":"timeu","description":"Polymer custom element wrapper around dygraphs.com","archived":false,"fork":false,"pushed_at":"2016-10-17T13:04:28.000Z","size":1876,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-16T16:14:58.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-23T16:07:48.000Z","updated_at":"2022-01-23T07:06:21.000Z","dependencies_parsed_at":"2022-08-17T20:50:24.581Z","dependency_job_id":null,"html_url":"https://github.com/timeu/dy-graphs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/timeu/dy-graphs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdy-graphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdy-graphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdy-graphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdy-graphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timeu","download_url":"https://codeload.github.com/timeu/dy-graphs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdy-graphs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28727877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T22:34:04.190Z","updated_at":"2026-01-24T12:37:01.163Z","avatar_url":"https://github.com/timeu.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#\n# \u0026lt;dy-graphs\u0026gt;\n\nThis is a simple Polymer custom element wrapper around [Dygraphs](http://dygraphs.com/)\n\n## Demo\n\u003e [Check it live](http://timeu.github.io/dy-graphs/components/dy-graphs/demo/index.html).\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install dy-graphs --save\n```\n\nOr [download as ZIP](https://github.com/timeu/dy-graphs/archive/master.zip).\n\n## Simple Demo\n\n\u003c!---\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"dy-graphs.html\"\u003e\n    \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n    \u003cscript\u003e\n         var options = {\"labels\": ['X', 'Est.', 'Actual'],\"animatedZooms\": true};\n         var data = [];\n         for (var i = 0; i \u003c 1000; i++) {\n             var base = 10 * Math.sin(i / 90.0);\n             data.push([i, base, base + Math.sin(i / 2.0)]);\n         }\n         var elem = document.querySelector('dy-graphs');\n         elem.data = data;\n         elem.options = options;  \n      \u003c/script\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003cdy-graphs\u003e\u003c/dy-graphs\u003e\n```\n\n## Usage\n\n1. Import Web Components' polyfill:\n\n  ```html\n\u003cscript src=\"bower_components/webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n  ```\n\n2. Import Custom Element:\n\n  ```html\n\u003clink rel=\"import\" href=\"bower_components/dy-graphs/dy-graphs.html\"\u003e\n  ```\n\n3. Start using it!\n\n  Example with static options:\n\n\n  ```html\n  \u003cdy-graphs data=\"ny-vs-sf.txt\" options='{\"legend\": \"always\",\"title\": \"MyTitle\"}'\u003e\u003c/dy-graphs\u003e\n  ```\n\n  Example with data binding\n\n```html\n  \u003cdy-graphs data=\"{{data}}\" options=\"{{options}}\"\u003e\u003c/dy-graphs\u003e\n```\n\n  Interact with dygraph object directly:\n\n```html\n\u003cdygraphs id=\"graph\"\u003e\u003c/dygraphs\u003e\n\u003cscript\u003e\n  var g = document.querySelector('#graph');\n  g.dygraph.resetZoom();\n\u003c/script\u003e\n```\n\n## Options\n\nSee the [component page](http://timeu.github.io/dy-graphs) for more information.\n\n\n## Browser Support\n\n![IE](https://raw.github.com/paulirish/browser-logos/master/internet-explorer/internet-explorer_48x48.png) | ![Chrome](https://raw.github.com/paulirish/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/paulirish/browser-logos/master/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/paulirish/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/paulirish/browser-logos/master/safari/safari_48x48.png)\n--- | --- | --- | --- | --- |\nIE 10+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## History\n\nCheck [Release](https://github.com/timeu/dy-graphs/releases) list.\n\n## License\n\n[MIT License](http://timeu.mit-license.org/) © Ümit Seren\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fdy-graphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeu%2Fdy-graphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fdy-graphs/lists"}