@khalid_jaleel,
You can have a button click counter as explained in this StackOverflow thread. Using this logic and updating chart options / data on button click should fulfill your requirement. Please take a look at this updated JSFiddle.
—
Manoj Mohan
Team CanvasJS