Here is the topic about nearly similar case. Get the basics from it and replace text inputs with buttons and you are probably achieved your goal Chart Variable Timeline X-Axis
Here is the topic about nearly similar case. Get the basics from it and replace text inputs with buttons and you are probably achieved your goal Chart Variable Timeline X-Axis