{"id":22854982,"url":"https://github.com/vishwas-r/wp-canvasjs","last_synced_at":"2025-04-30T12:17:15.962Z","repository":{"id":141286604,"uuid":"144539424","full_name":"vishwas-r/WP-CanvasJS","owner":"vishwas-r","description":"WP CanvasJS plugin allows you to create and add interactive Charts \u0026 StockCharts to your wordpress page and posts using CanvasJS library.","archived":false,"fork":false,"pushed_at":"2024-03-29T04:28:02.000Z","size":227,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T16:05:11.821Z","etag":null,"topics":["canvasjs","canvasjs-charts","chart","charting-library","graphs","html5-charts","html5-stockcharts","javascript-charts","javascript-library","javascript-stockchart","stockchart","wordpress","wordpress-page"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/vishwas-r.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}},"created_at":"2018-08-13T06:40:29.000Z","updated_at":"2024-08-12T19:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8737140d-8ed2-43f6-8c45-95219b75c0f6","html_url":"https://github.com/vishwas-r/WP-CanvasJS","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwas-r%2FWP-CanvasJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwas-r%2FWP-CanvasJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwas-r%2FWP-CanvasJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwas-r%2FWP-CanvasJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishwas-r","download_url":"https://codeload.github.com/vishwas-r/WP-CanvasJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251699486,"owners_count":21629822,"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":["canvasjs","canvasjs-charts","chart","charting-library","graphs","html5-charts","html5-stockcharts","javascript-charts","javascript-library","javascript-stockchart","stockchart","wordpress","wordpress-page"],"created_at":"2024-12-13T07:09:26.205Z","updated_at":"2025-04-30T12:17:15.910Z","avatar_url":"https://github.com/vishwas-r.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/vishwas.r"],"categories":[],"sub_categories":[],"readme":"# CanvasJS for WordPress\n\nThis plugin allows you to create and add interactive Charts \u0026 StockCharts to your wordpress page and posts using CanvasJS library. It creates responsive high-performance Charts \u0026 StockCharts that renders across devices including iPhone, iPad, Android, Mac \u0026 PCs.\n\n### Documentation\n* [Plugin Documentation](https://github.com/vishwas-r/WP-CanvasJS/wiki): https://github.com/vishwas-r/WP-CanvasJS/wiki\n* [CanvasJS Official API Documentation](https://canvasjs.com/docs/): https://canvasjs.com/docs/\n\n## CanvasJS Library\nCanvasJS is built from ground up for high performance data visualization and can render millions of data points in a matter of milliseconds.\n\nNote:\n- This plugin requires you to have CanvasJS License. Please visit [CanvasJS](https://canvasjs.com/license/) for more info.\n\n## CanvasJS Gallery / Demos\n[CanvasJS Chart Gallery](https://canvasjs.com/javascript-charts/)\n[CanvasJS StockChart Gallery](https://canvasjs.com/javascript-stockcharts/)\n\n## How to add CanvasJS to your WordPress Page / Post?\n#### CanvasJS Chart\n- Add shortcode `[canvasjschart]`\n- Pass chart-options to the chart as 'options'.\n  \u003e[canvasjschart options=\"{title:{text: 'CanvasJS Column Chart'}, data: new Array({dataPoints: new Array({ label: 'apple', y: 10 },{ label: 'orange', y: 15 },{ label: 'banana', y: 25 },{ label: 'mango', y: 30 },{ label: 'grape', y: 28 })})}\"]\nor\n- **Save chart options as json file \u0026 pass it as 'optionsurl'.**\n  \u003e[canvasjschart optionsurl=\"URL\"]\n  \n#### CanvasJS StockChart\n- Add shortcode `[canvasjsstockchart]`\n- Pass chart-options to the chart as 'options'.\n  \u003e[canvasjsstockchart options=\"{title:{text: 'CanvasJS StockChart'}, charts: new Array({data: new Array({dataPoints: new Array({ label: 'apple', y: 10 },{ label: 'orange', y: 15 },{ label: 'banana', y: 25 },{ label: 'mango', y: 30 },{ label: 'grape', y: 28 })})})}\"]\nor\n- **Save chart options as json file \u0026 pass it as 'optionsurl'.**\n  \u003e[canvasjsstockchart optionsurl=\"URL\"]\n  \n## Styling Chart Container\nYou can pass style the chart / stockchart container by passing style parameter \n \u003e[canvasjschart optionsUrl=\"https://api.npoint.io/5448b28da1502b036561\" style=\"width:100%;height:360px\"]\n\n \u003e[canvasjschart options=\"{title:{text: 'CanvasJS Column Chart'}, data: new Array({dataPoints: new Array({ label: 'apple', y: 10 },{ label: 'orange', y: 15 },{ label: 'banana', y: 25 },{ label: 'mango', y: 30 },{ label: 'grape', y: 28 })})}\" style=\"width:100%;height:360px\"]\n\nNote:\n- Don't add space within style. i.e. Use `style=\"width:100%;height:300px\"` and avoid `style=\"width: 100%; height: 300px\"`\n\n#### Plugin Testing\n- Last Tested with: WordPress 6.4.3, CanvasJS Charts v3.7.43 \u0026 CanvasJS StockCharts v1.7.43\n- Last Tested on: Mar 13, 2024\n\n#### License\nMIT\n\n\u003ca href=\"https://www.buymeacoffee.com/vishwas.r\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"BuyMeACoffee\" width=\"200\"/\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwas-r%2Fwp-canvasjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishwas-r%2Fwp-canvasjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwas-r%2Fwp-canvasjs/lists"}