{"id":18678152,"url":"https://github.com/zingchart/gitbook-plugin-zingchart","last_synced_at":"2025-11-07T09:30:33.710Z","repository":{"id":72820930,"uuid":"62752962","full_name":"zingchart/gitbook-plugin-zingchart","owner":"zingchart","description":"ZingChart plugin for Gitbook","archived":false,"fork":false,"pushed_at":"2021-02-22T18:40:03.000Z","size":2768,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-28T09:34:26.590Z","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/zingchart.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-06T21:00:27.000Z","updated_at":"2021-02-22T18:40:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d7f6cf1-058e-4e43-a786-90e4e87c481f","html_url":"https://github.com/zingchart/gitbook-plugin-zingchart","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"ece35a5aa3ed5152093fcb65b89eef6aea65b9e1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingchart%2Fgitbook-plugin-zingchart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingchart%2Fgitbook-plugin-zingchart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingchart%2Fgitbook-plugin-zingchart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingchart%2Fgitbook-plugin-zingchart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zingchart","download_url":"https://codeload.github.com/zingchart/gitbook-plugin-zingchart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239525502,"owners_count":19653339,"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-11-07T09:36:11.698Z","updated_at":"2025-11-07T09:30:33.672Z","avatar_url":"https://github.com/zingchart.png","language":"JavaScript","readme":"\n# 2021 UPDATE:\n\n**This plugin is no longer maintained. It will not work with newer versions of GitBook. This repository exists purely for historical reasons. No further updates will be made.**\n\n\nZingChart integration for GitBook\n==============\n\n### 1. You can use install it via **NPM** and save it to package.json:\n```\n$ npm install gitbook-plugin-zingchart --save\n```\n### 2. add the plugin to `book.json` config\n```\n{\n    \"plugins\": [ \"zingchart\"]\n}\n```\n\n### 3. include zingchart block in your markdown files.\n```\n{% zingchart width=300, height=300 %}\n{\n    \"type\":\"bar\",  \n    \"series\":[  \n        { \"values\": [35, 42, 67, 89]},\n        { \"values\": [28, 40, 39, 36]}\n    ]\n}\n{% endzingchart %}\n```\n\n* Any key/value pairs that can be specified in [zingchart.render](https://www.zingchart.com/docs/developers/zingchart-object-and-methods/?q=zingchart%20object%20and%20methods%20%7C%20developers%20%7C%20zingchart#render-method) can be declared in the `{% zingchart %}` block separated by commas.\n* To include a raw JSON block, it can be placed between the open and close blocks.\n* To include an external JSON file, the `dataurl` attribute can be placed in the `{% zingchart %}` block.\n\n### Examples\n```\n{% zingchart dataurl='./zingchart.json', width=700, height=200 %}{% endzingchart %}\n```\n![External JSON](/assets/images/external.png)\n\n```\n{% zingchart width=700, height=200 %}\n{\n    \"type\":\"bar\",\n    \"series\":[\n        { \"values\": [35, 42, 67, 89]},\n        { \"values\": [28, 40, 39, 36]}\n    ]\n}\n{% endzingchart %}\n```\n![Embedded JSON](/assets/images/embedded.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingchart%2Fgitbook-plugin-zingchart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzingchart%2Fgitbook-plugin-zingchart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingchart%2Fgitbook-plugin-zingchart/lists"}