{"id":18569446,"url":"https://github.com/timeu/dygraphs-gwt","last_synced_at":"2025-07-24T18:15:59.372Z","repository":{"id":57723632,"uuid":"12268432","full_name":"timeu/dygraphs-gwt","owner":"timeu","description":"GWT wrapper for dygraphs","archived":false,"fork":false,"pushed_at":"2023-01-04T21:46:03.000Z","size":15830,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T13:39:53.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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":"2013-08-21T11:28:07.000Z","updated_at":"2023-09-08T16:41:34.000Z","dependencies_parsed_at":"2023-02-02T21:01:14.116Z","dependency_job_id":null,"html_url":"https://github.com/timeu/dygraphs-gwt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/timeu/dygraphs-gwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdygraphs-gwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdygraphs-gwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdygraphs-gwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdygraphs-gwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timeu","download_url":"https://codeload.github.com/timeu/dygraphs-gwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fdygraphs-gwt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266706268,"owners_count":23971846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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:08.287Z","updated_at":"2025-07-24T18:15:58.982Z","avatar_url":"https://github.com/timeu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is Dygraphs-GWT?\n\n\nDygraphs-GWT is a wrapper for the [dygraphs][0] chart library. \nThe wrapper makes it easy to use dygraphs in any GWT application by providing a\ntype-safe abstraction of the dygraphs API. \n\n\n## How do I use it?\n\nFollowing dygraphjs example:\n\n```Javascript\nnew Dygraph(div, \"ny-vs-sf.txt\", {\n  legend: 'always',\n  title: 'NYC vs. SF',\n  showRoller: true,\n  rollPeriod: 14,\n  customBars: true,\n  ylabel: 'Temperature (F)',\n});\n```\ncan be done with the wrapper this way:\n\n```JAVA\n\nDygraphsOptions options = new DygraphsOptions();\noptions.legend='always'\noptions.title='NYC vs. SF'\noptions.showRoller = true;\noptions.rollPeriod = 14;\noptions.customBars = true;\noptions.ylabel = 'Temperature (F)'\n\nDygraphs dygraphs = new Dygraphs(\"ny-vs-sf.txt\",options);\nsomePanel.add(dygraphs);\n\n```\n\n\n## How do I install it?\n\nIf you're using Maven, you can add the following to your `\u003cdependencies\u003e`\nsection:\n\n```xml\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.timeu.dygraphs-gwt\u003c/groupId\u003e\n      \u003cartifactId\u003edygraphs-gwt\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n\nGeneViewer uses [GWT 2.8's][1] new [JSInterop feature][2] and thus it has to be enabled in the GWT compiler args.\nFor maven:\n```xml\n\u003ccompilerArgs\u003e\n    \u003ccompilerArg\u003e-generateJsInteropExports\u003c/compilerArg\u003e\n\u003c/compilerArgs\u003e\n```\nor passing it to the compiler via `-generateJsInteropExports`\n\nYou can also download the [jar][3] directly or check out the source using git\nfrom \u003chttps://github.com/timeu/dygraphs-gwt.git\u003e and build it yourself. Once\nyou've installed Dygraphs-GWT, be sure to inherit the module in your .gwt.xml\nfile like this:\n\n```xml\n    \u003cinherits name='com.github.timeu.Dygraphs'/\u003e\n```\n\n## Where can I learn more?\n\n * Check out the [sample app][4] ([Source Code][5]) for a full example of using GeneViewer.\n \n[0]: https://http://dygraphs.com/\n[1]: http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_BETA1\n[2]: https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.o7amqk9edhb9\n[3]: https://github.com/timeu/dygraphs-gwt/releases\n[4]: http://timeu.github.io/dygraphs-gwt\n[5]: https://github.com/timeu/dygraphs-gwt/tree/master/dygraphs-gwt-sample/src/main/java/sample/client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fdygraphs-gwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeu%2Fdygraphs-gwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fdygraphs-gwt/lists"}