adds graph button click function stub