{"id":14990320,"url":"https://github.com/vaadin/vaadin-charts","last_synced_at":"2025-04-06T10:09:38.233Z","repository":{"id":32429533,"uuid":"36007293","full_name":"vaadin/vaadin-charts","owner":"vaadin","description":"Vaadin Charts is a feature-rich interactive graph library that answers the data visualization needs of modern web applications","archived":false,"fork":false,"pushed_at":"2025-02-10T11:07:48.000Z","size":11412,"stargazers_count":51,"open_issues_count":0,"forks_count":24,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-04T21:39:04.299Z","etag":null,"topics":["chart","charting-library","polymer","polymer-element","vaadin-charts","vaadin-elements","vaadin-pro","web-component","web-components"],"latest_commit_sha":null,"homepage":"https://vaadin.com/charts","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaadin.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":"2015-05-21T10:46:47.000Z","updated_at":"2025-02-10T11:07:51.000Z","dependencies_parsed_at":"2025-03-16T07:04:47.609Z","dependency_job_id":"16b752ad-229c-4617-b1e3-15c11a05f6d1","html_url":"https://github.com/vaadin/vaadin-charts","commit_stats":{"total_commits":499,"total_committers":37,"mean_commits":"13.486486486486486","dds":0.781563126252505,"last_synced_commit":"8f86ad9f1d0574783a938882dc6eaf8ccfb01ed6"},"previous_names":[],"tags_count":93,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-charts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-charts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-charts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-charts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaadin","download_url":"https://codeload.github.com/vaadin/vaadin-charts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464185,"owners_count":20942966,"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":["chart","charting-library","polymer","polymer-element","vaadin-charts","vaadin-elements","vaadin-pro","web-component","web-components"],"created_at":"2024-09-24T14:19:53.334Z","updated_at":"2025-04-06T10:09:38.215Z","avatar_url":"https://github.com/vaadin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vaadin Charts\n\n\u003e ⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the [`vaadin/web-components`](https://github.com/vaadin/web-components/tree/master/packages/vaadin-charts) monorepository.\n\u003e This repository contains the source code and releases of `\u003cvaadin-chart\u003e` for the Vaadin versions 10 to 19.\n\n[Vaadin Charts](https://vaadin.com/components/vaadin-charts) is a Web Component for creating high quality charts, part of the [Vaadin components](https://vaadin.com/components).\n\n[Live Demo ↗](https://vaadin.com/components/vaadin-charts/examples)\n|\n[API documentation ↗](https://vaadin.com/components/vaadin-charts/html-api)\n\n[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-charts)](https://www.npmjs.com/package/@vaadin/vaadin-charts)\n[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-element)\n[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)\n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"vaadin-chart.html\"\u003e\n    \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003cvaadin-chart type=\"pie\"\u003e\n  \u003cvaadin-chart-series values='[\n      [\"Firefox\", 45.0],\n      [\"IE\", 26.8],\n      [\"Chrome\", 12.8],\n      [\"Safari\", 8.5],\n      [\"Opera\", 6.2],\n      [\"Others\", 0.7]]'\u003e\n  \u003c/vaadin-chart-series\u003e\n\u003c/vaadin-chart\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/vaadin/vaadin-charts/master/screenshot.png\" alt=\"Screenshot of vaadin-chart\"\u003e](https://vaadin.com/components/vaadin-chart)\n\n## Relevant links\n\n- **Product page** https://vaadin.com/charts\n- **Trial license** https://vaadin.com/pro/licenses\n\n\n## Installation\n\nVaadin components are distributed as Bower and npm packages.\nPlease note that the version range is the same, as the API has not changed.\nYou should not mix Bower and npm versions in the same application, though.\n\nUnlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components\nare only published on npm, not pushed to GitHub repositories.\n\n### Polymer 2 and HTML Imports compatible version\n\nInstall `vaadin-charts`:\n\n```sh\nbower i vaadin/vaadin-charts --save\n```\n\nOnce installed, import it in your application:\n\n```html\n\u003clink rel=\"import\" href=\"bower_components/vaadin-charts/vaadin-chart.html\"\u003e\n```\n\n### Polymer 3 and ES Modules compatible version\n\n\nInstall `vaadin-charts`:\n\n```sh\nnpm i @vaadin/vaadin-charts --save\n```\n\nOnce installed, import it in your application:\n\n```js\nimport '@vaadin/vaadin-charts/vaadin-chart.js';\n```\n\n### Install License Key\nAfter one day using Vaadin Charts in a development environment you will see a pop-up that asks you to enter the license key.\nYou can get your trial key from [https://vaadin.com/pro/licenses](https://vaadin.com/pro/licenses).\nIf the license is valid, it will be saved to the local storage of the browser and you will not see the pop-up again.\n\n[\u003cimg src=\"https://raw.githubusercontent.com/vaadin/vaadin-charts/6.0-preview/screenshot.png\" width=\"400\" alt=\"Screenshot of vaadin-chart\"\u003e](https://vaadin.com/elements/-/element/vaadin-chart)\n\n\n## Running demos and tests in browser\n\n1. Fork the `vaadin-charts` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) installed.\n\n1. When in the `vaadin-charts` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Make sure you have [polymer-cli](https://www.npmjs.com/package/polymer-cli) installed globally: `npm i -g polymer-cli`.\n\n1. Run `polymer serve --open`, browser will automatically open the component API documentation.\n\n1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example:\n\n  - http://127.0.0.1:8080/components/vaadin-charts/demo\n  - http://127.0.0.1:8080/components/vaadin-charts/test\n\n\n## Running tests from the command line\n\n\u003e [!WARNING]\n\u003e Running tests locally from the CLI does not work due to outdated dependencies. Run tests via SauceLabs or in the browser instead.\n\n1. When in the `vaadin-charts` directory, run `polymer test`\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `npm run lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files.\n\n\n## Contributing\n\n  To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first.\n\n\n## License\n\n_Vaadin Charts_ is distributed under the terms of\n[Commercial Vaadin Add-On License version 3.0](https://vaadin.com/license/cval-3) (\"CVALv3\"). A copy of the license is included as ```LICENSE.txt``` in this software package.\n\nVaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-charts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaadin%2Fvaadin-charts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-charts/lists"}