implemented chart drawing the checkbox