It appears your date is aggregated by Month. If your issue is more how to display, than the computed value itself you could create a calculated field to calculate the Last Day of the month.
See a similar requirement below where the Week is being calculated. You could use the queue to get your last day of the month computed and use this calculated field in your line chart.
Regards,
Giri