Your requirement seems to be associated with List Boxes as you might like to add Check Boxes for a given list of values.
Try this and see if it helps -
Right-Click on your List Box -> Go to Presentation Tab -> Under "Selection Style Override" -> Select Windows Checkboxes and then Apply.
This should create checkboxes before the values of your list box.
Provide sample data, We will halp on you
Create Bar chart for comparison by help of Year as Dim and expression is simple metric
There are two things you need to do.
1> the check box needs to have your 'yearfield' as the main field.
2> your graph needs to have 'yearfield' as a dimension.
when you choose the years, the graph will show data for all the years you have ticked in the box.