javascript chart to show live linear data