How to Plot line chart of real time data

This is a double thread which one do we answer on?