{"repo":"SauravKanchan/svelte-chartjs","free":true,"listed":false,"github":"https://github.com/SauravKanchan/svelte-chartjs","clone":"git clone https://github.com/SauravKanchan/svelte-chartjs.git","description":"Svelte wrapper for chart.js","language":"Svelte","stars":333,"topics":["chartjs","svelte"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"svelte-chartjs Svelte wrapper for chart.js. Open for PRs and contributions! Docs &nbsp;&nbsp;&bull;&nbsp;&nbsp; Install &nbsp;&nbsp;&bull;&nbsp;&nbsp; Usage &nbsp;&nbsp;&bull;&nbsp;&nbsp; Available Charts &nbsp;&nbsp;&bull;&nbsp;&nbsp; Tree-Shaking &nbsp;&nbsp;&bull;&nbsp;&nbsp; Examples &nbsp;&nbsp;&bull;&nbsp;&nbsp; Stack Overflow --- Documentation Full documentation and live demos are available at the docs site. Install Install this library with peer dependencies: Usage Custom Size In order for Chart.js to obey the custom size you need to set maintainAspectRatio to false, example: Available Charts Component Chart.js Type --- --- Bar Bar chart Bubble Bubble chart Doughnut Doughnut chart Line Line chart Pie Pie chart PolarArea Polar area chart Radar Radar chart Scatter Scatter chart A generic Chart component is also available. Use the type prop to specify the chart type: Tree-Shaking Quick Setup Import chart.js/auto to register everything: Optimized (Selective Imports) Import and register only the components you need for a smaller bundle: Typed chart components (e.g. Pie , Bar ) automatically register their controller, so you don't need to register it yourself. For example, when using Pie , you don't need to register PieController explicitly. For a full list of available imports, see the Chart.js integration docs. Accessing the Chart Instance Use bind:chart to get a reference to the underlying Chart.js instance: Event Utilities Three helper functions are exported for extract","default_branch":null,"files":null,"tree":[],"storefront":"/r/SauravKanchan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SauravKanchan/svelte-chartjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}