Displaying realtime data using time and sine