added a real-time chart demo