Anyone know how to make a graph end with the most recent date displayed? Basically, it's taking the first date and adding 10 days, 10 days, 10 days, etc. If the last date doesn't fall into the 10 day cycle, it is not shown!

I want to show the last dates' date!!!

Anyone know how to do this? I've tried changing this on the "onOpen" function, but it runs before the screen is actually opened, so it's errors out.