format graph checkboxes