add real-time graph