{"id":15733407,"url":"https://github.com/vaab/web_google_chart","last_synced_at":"2025-07-14T21:37:41.340Z","repository":{"id":4169276,"uuid":"5284939","full_name":"vaab/web_google_chart","owner":"vaab","description":"OpenERP addon replacing web_graph charts with google charts.","archived":false,"fork":false,"pushed_at":"2013-07-08T18:03:16.000Z","size":171,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-06T08:28:37.559Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaab.png","metadata":{"files":{"readme":"README.rst","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":"2012-08-03T12:12:56.000Z","updated_at":"2013-12-21T12:14:01.000Z","dependencies_parsed_at":"2022-08-30T13:41:16.150Z","dependency_job_id":null,"html_url":"https://github.com/vaab/web_google_chart","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaab%2Fweb_google_chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaab%2Fweb_google_chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaab%2Fweb_google_chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaab%2Fweb_google_chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaab","download_url":"https://codeload.github.com/vaab/web_google_chart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246413241,"owners_count":20773053,"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","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-10-04T00:41:56.833Z","updated_at":"2025-03-31T03:45:22.621Z","avatar_url":"https://github.com/vaab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"============================\nWeb Google Chart for OpenERP\n============================\n\nThis is an OpenERP addons to replace all chart of the web client by\n`google chart`_ version. It also adds several new features. Please consult\nthe list of features further down.\n\n.. _google chart: https://developers.google.com/chart/\n\n\nAcknowledgments\n----------------\n\nMany thanks to `CARIF-OREF La Réunion`_ which has funded the near entirety of\nthe development of this code.\n\n.. _CARIF-OREF La Réunion: http://www.cariforef-reunion.net/\n\n\nRequirements\n------------\n\nThis addons is made for OpenERP version 6.1\n\nPlease bear in mind that Google Charts library need to be downloaded from\ngoogle's site. So if you have an intranet OpenERP without access to Internet,\nthis module is not for you.\n\n\nInstallation\n------------\n\nInstall this as any OpenERP addons, and then look at your charts.\n\n\nFeatures\n--------\n\nBesides all charts of OpenERP being replaced by google version:\n\n  - several bugs were fixed from original ``chart.js`` from version 6.1.1\n\n  - support of new type 'gauge' and 'pyramid' type of charts.\n\n    For a population pyramid, for example::\n\n      \u003cgraph type=\"pyramid\"\u003e\n        \u003cfield name=\"age\" /\u003e\n        \u003cfield name=\"gender_id\" group=\"True\" /\u003e\n        \u003cfield name=\"nbr\" operator=\"+\"/\u003e\n      \u003c/graph\u003e\n\n\n  - new aggregation operator ``#`` (namely equivalent to COUNT in SQL), and\n    ``avg`` which is self explanatory.\n\n  - all graphs can be customized much more than OpenERP, for example::\n\n      \u003cgraph string=\"Gauge Example\" type=\"gauge\"\u003e\n        \u003cfield name=\"name\"/\u003e\n        \u003cfield name=\"nbr\" operator=\"+\"/\u003e\n        \u003chtml\u003e\n          \u003cgraph-options\u003e\n            {\n              width: 400, height: 120,\n              redFrom: 90, redTo: 100,\n              yellowFrom:75, yellowTo: 90,\n              minorTicks: 5\n            }\n          \u003c/graph-options\u003e\n        \u003c/html\u003e\n      \u003c/graph\u003e\n\n   Options are the google chart ones. So documentation is available on\n   `google chart`_ site.\n\n\nTroubleshooting\n---------------\n\n- It has occurred on some rare occasion that legacy ``chart.js`` seems to be loaded\n  after the javascript code of this module, leading to google chart NOT replacing\n  legacy charts. This remains to be confirmed as I cannot reproduce it.\n\n  To check if this is the case in your installation, you can comment the line in\n  ``addons/web_graph/static/src/js/chart.js``::\n\n    openerp.web.views.add('graph', 'openerp.web_graph.GraphView');\n\n  which you'll find in the 20 first line of this file. Then ensure your browser\n  cache is emptied (``Ctrl-Shift Del`` and select only ``cache``, or use\n  ``Ctrl-F5``) to ensure you reload the new javascript. This could help you using\n  ``web_google_chart`` if ever it didn't work on your installation.\n\n  Send me the result through the ``Issues`` tab if can reproduce this bug or have\n  any information on it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaab%2Fweb_google_chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaab%2Fweb_google_chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaab%2Fweb_google_chart/lists"}