I could not understand the "example for upload" so i am explaining here. Suppose we have data.
Date Item Stock
01-01-2017 A 3
01-01-2017 B 5
02-01-2017 A 6
02-01-2017 B 8
Now we have current stock in date 02-01-2017 so i want a graph where by default figure shows for 02-01-2017 only. Later on user can change the filter for backdated data.
Similarly when new data added the default filter should be 03-01-2017.
Hope you understand now.