From this GitHub issue:
I solved this getting the start date that is showing in the visualization and the end date, then i calculated the days between that d