How to Transition Chart based on datepicker

Sorry for the cross-posting. Can anybody give me some hints about a similar problem here:

I’ve just read this thread but I still can’t wrap my head around that.