{"id":19338837,"url":"https://github.com/fizzygalacticus/gchart","last_synced_at":"2026-06-11T22:31:28.646Z","repository":{"id":77398133,"uuid":"70190738","full_name":"FizzyGalacticus/gchart","owner":"FizzyGalacticus","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-08T18:49:28.000Z","size":950,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-06T10:11:22.295Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FizzyGalacticus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-06T20:33:18.000Z","updated_at":"2016-10-25T20:48:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc895031-a228-43ce-b663-2f0815d69ce9","html_url":"https://github.com/FizzyGalacticus/gchart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FizzyGalacticus/gchart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgchart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgchart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgchart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgchart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FizzyGalacticus","download_url":"https://codeload.github.com/FizzyGalacticus/gchart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FizzyGalacticus%2Fgchart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34221150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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-10T03:18:51.696Z","updated_at":"2026-06-11T22:31:28.631Z","avatar_url":"https://github.com/FizzyGalacticus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### GChart\n\nThis library was written in order to make creating charts using Google Charts more intuitive and to add additional functionality that doesn't currently exist.\n\nFor instance, if the data in a chart changes, or the window resizes, I wanted my chart to re-draw with the new data/dimensions. I also wanted to be able to add links to the row titles.\n\nInstead of trying to wrap your head around adding data to a Google Chart, this library makes it much easier with functions like addColumn and addRow, which both take objects with meaningful keys.\n\nFor example, here is a basic chart:\n```javascript\nGChart.onLoad(function() {\n    var myChart = new GChart('myChart', 'BarChart');\n    myChart.addColumn({type:'string', title:'Year'});\n    myChart.addColumn({type:'number', title:'Sales'});\n    myChart.addColumn({type:'number', title:'Profits'});\n    myChart.addColumn({type:'number', title:'Losses'});\n    myChart.addRow({\n            title:'2010',\n            values:[600, 700, 300],\n            titleUrl:'https://www.google.com/search?q=kittens\u0026oq=kittens\u0026aqs=chrome..69i57j0l5.1655j0j7\u0026sourceid=chrome\u0026ie=UTF-8'\n        });\n        \n    myChart.addOptions({\n        animation: {\n            'duration': 750,\n            'startup': true,\n            'easing': 'out'\n        }\n    });\n\n    myChart.draw();\n\n    setTimeout(function() {\n        myChart.addRow({\n            title:'2015',\n            values:[1350, 962, 1034],\n            titleUrl:'https://www.youtube.com/watch?v=4LZo9ugJTWQ'\n        });\n    }, 2000);\n});\n```\n\nThe above code will look something like this:\n![Basic Example](https://github.com/FizzyGalacticus/gchart/blob/master/demofiles/basicdemo.gif?raw=true)\n\nTo use this library, simply include the gchart.min.js script located in the ``dist`` folder of this repo. Everything that I've added uses Vanilla JS, so you shouldn't run into any issues with other libraries (unless Google uses non-vanilla code in the core charts library).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzygalacticus%2Fgchart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffizzygalacticus%2Fgchart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizzygalacticus%2Fgchart/lists"}