LaravelDaily / laravel-charts

Package to draw charts in Laravel with Chart.js
MIT License
532 stars 118 forks source link

Limit Number of Records Displayed on the Chart #49

Closed Kayla-Lamp closed 3 years ago

Kayla-Lamp commented 4 years ago

Hi there,

Is there currently a way to limit the number of groups pulled through and displayed on the chart (only show top 10 results)?

Thanks in advance for your response.

PovilasKorop commented 4 years ago

@Kayla-Lamp currently there's no such feature. But if you're happy to build it, we can accept it as a Pull Request.

PovilasKorop commented 3 years ago

Fixed by https://github.com/LaravelDaily/laravel-charts/pull/66