Which version of FIleMaker are you using? The settings are the same, but the chart setup wizard has changed in appearance.
First you need a summary field that counts some never empty field in your table such as the date field.
Select your year field for the x-axis and the summary field for y.
The key is to then select the "summary data/groups of records when sorted" option and then to sort your records by the year field.