{"id":32258875,"url":"https://github.com/joabetc/ng-google-charts","last_synced_at":"2025-10-22T19:53:49.982Z","repository":{"id":58224005,"uuid":"83069939","full_name":"joabetc/ng-google-charts","owner":"joabetc","description":"An AngularJS component for Google Charts","archived":false,"fork":false,"pushed_at":"2022-09-14T19:36:33.000Z","size":46,"stargazers_count":3,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T17:21:34.692Z","etag":null,"topics":["angularjs-component","bower","google-charts","ng-google-charts"],"latest_commit_sha":null,"homepage":"https://joabetc.github.io/ng-google-charts/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joabetc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-24T18:16:56.000Z","updated_at":"2018-04-23T11:35:10.000Z","dependencies_parsed_at":"2022-08-31T03:01:28.574Z","dependency_job_id":null,"html_url":"https://github.com/joabetc/ng-google-charts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joabetc/ng-google-charts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joabetc%2Fng-google-charts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joabetc%2Fng-google-charts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joabetc%2Fng-google-charts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joabetc%2Fng-google-charts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joabetc","download_url":"https://codeload.github.com/joabetc/ng-google-charts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joabetc%2Fng-google-charts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280503193,"owners_count":26341693,"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-10-22T02:00:06.515Z","response_time":63,"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":["angularjs-component","bower","google-charts","ng-google-charts"],"created_at":"2025-10-22T19:53:43.497Z","updated_at":"2025-10-22T19:53:49.973Z","avatar_url":"https://github.com/joabetc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-google-charts\n\n## What is it?\n\nAn AngularJS Component for [Google Charts](https://developers.google.com/chart/).\nThis component uses Google's [ChartWrapper](https://developers.google.com/chart/interactive/docs/drawing_charts#chartwrapper) to draw charts.\n\n## Samples\n\n[demo/index-online.html](https://joabetc.github.io/ng-google-charts/demo/index-online.html)\n\n[Stackblitz Sample](https://stackblitz.com/edit/ng-google-charts?embed=1\u0026file=home/home.html)\n\n{% include demo.html %}\n\n## Installation\n\nwith bower:\n```console\nbower install ng-google-charts --production\n```\n\nwith npm:\n````console\nnpm install ng-google-charts --save\n````\n\n## Usage requirement\n\n1. Declare the following dependency in your index.html or equivalent:\n\n````html\n\u003cscript src=\"https://www.gstatic.com/charts/loader.js\"\u003e\u003c/script\u003e\n````\n\n2. Also add the following declaration to your index.html or equivalent:\n\n````html\n\u003cscript src=\"libs/ng-google-charts/dist/ng-google-charts.js\"\u003e\u003c/script\u003e\n````\n\n3. Declare `ngGoogleCharts` dependency in your main module.\n\n````javascript\nangular\n  .module('yourModule', ['ngGoogleCharts'])...\n````\n\n4. Insert the component where you want to use it:\n\n````html\n\u003cng-google-charts data=\"chartOptions\"\u003e\u003c/ng-google-charts\u003e\n````\n5. Format your data like this:\n\n````javascript\nthis.chartOptions = {\n    chartType: 'Gantt',\n    dataTable: [\n      ['Task ID', 'TaskName', 'Resource', 'Start Date', 'End Date', 'Duration', 'Percent Complete', 'Dependencies'],\n      ['Research', 'Find sources', 'teste', new Date(2015, 12, 1), new Date(2016, 3, 5), 0,  100,  null],\n      ['Test', 'Find Test', 'run', new Date(2016, 1, 2), new Date(2016, 10, 5), 0,  100,  null]\n    ]\n  };\n````\n  The chartType should be one of the following values:\n  * AnnotationChart\n  * AreaChart\n  * Bar\n  * BarChart\n  * BubbleChart\n  * Calendar\n  * CandlestickChart\n  * ColumnChart\n  * ComboChart\n  * PieChart\n  * Gantt\n  * Gauge\n  * GeoChart\n  * Histogram\n  * Line\n  * LineChart\n  * Map\n  * OrgChart\n  * Sankey\n  * Scatter\n  * ScatterChart\n  * SteppedAreaChart\n  * Table\n  * Timeline\n  * TreeMap\n  * WordTree\n\n  The dataTable content should follow [ChartWrapper](https://developers.google.com/chart/interactive/docs/drawing_charts#chartwrapper) format.\n  \n## Development\n\n1. Clone the repo or [download]().\n2. ``npm install \u0026\u0026 bower install``\n3. Setup E2E testing environment: ``npm install -g protractor \u0026\u0026 webdriver-manager update --standalone``\n4. Run ``gulp watch`` and open [http://localhost:8080/demo/index.html](http://localhost:8080/demo/index.html)\n5. Use ``gulp test-unit`` or ``gulp test-e2e`` to execute your tests\n6. Finally, be sure that selenium driver is up: ``webdriver-manager start`` and run ``gulp build``\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoabetc%2Fng-google-charts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoabetc%2Fng-google-charts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoabetc%2Fng-google-charts/lists"}