Chart functionality completed!