Chart functionality complete