Chart functionality completed (tough week!)