Continued skeleton code for charts