{"repo":"fidum/laravel-dashboard-chart-tile","free":true,"listed":false,"github":"https://github.com/fidum/laravel-dashboard-chart-tile","clone":"git clone https://github.com/fidum/laravel-dashboard-chart-tile.git","description":"Create all the charts you want for your laravel dashboard","language":"PHP","stars":162,"topics":["chart","tile","dashboard","laravel","spatie","laravel-framework"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Laravel Dashboard Charting Tile Show off your charting skills with this easy to use tile. Supports line, bar, pie, doughnut and many more! Installation You can install the package via composer: Usage In the dashboard config file, you can optionally add this configuration in the tiles key. This tile uses chart.js to render the charts with the help of Laravel Charts package see links to documentation for both below: - Laravel Charts Documentation - Chart.js Documentation So that you can easily add your datasets and configure your charts exactly how you want them you need to create a chart class that implements the Fidum\\ChartTile\\Contracts\\ChartFactory interface. See chart example below: In your dashboard view you can use the below component as many times as needed. Pass your chart class reference to the component and that will be used to generate the chart. Optional properties: - chartFilters optional key value array of settings that is passed to your chart static::make method. Only use this for passing simple values strings , integers , arrays etc. To use this you will have to use @livewire syntax over the component syntax in order set the array value. - height sets the height of the chart, depending on your dashboard layout you may need to adjust this (defaults to 100% ). - refreshIntervalInSeconds use this to override the refresh rate of an individual tile (defaults to 300 seconds) Examples We have provided some chart factory examples to help get you started here. You can u","default_branch":null,"files":null,"tree":[],"storefront":"/r/fidum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fidum/laravel-dashboard-chart-tile/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."}