coroo / nova-chartjs

A Simple Dashboard Chart in Laravel Nova using Chart JS. Starting create your own dashboard with Chart JS Integration can save your time and help you maintain consistency across standard elements such as Bar, Stacked, Line, Area, Doughnut and Pie Chart.
https://coroo.github.io/nova-chartjs
MIT License
215 stars 72 forks source link

Gap in my data #142

Closed mrahmadt closed 2 years ago

mrahmadt commented 2 years ago

Hello everyone

Thank you very much for making our life easy we nova-chartjs, I manage to import it to my portal in less than 10 minutes! Amazing!

I have a Model that contains daily records with some missing days (e.g. Sunday, then Monday, then Friday..) this gap is normally based on my application logic

I start using nova-chartjs to chart a sum of the data per day, which is working fine. However, I can see nova-chartjs is filling the missing days with a value of zero, (I'm using Line chart). Is there a way to configure the library not to fill in the missing days?

mrahmadt commented 2 years ago

Seems it's possible using Bar chart, no option for Line Chart