You've posted a question about FileMaker Pro in the section for questions about FileMaker Server. (See tabs at to of screen).
I would set up a new table with one record for each year. Link it to your sales table by year. Define a calculation field in this new table that uses Count to count the related records (the number of sales record for that year). You can then use these two fields in the new table from a layout based on that new table to produce your chart.