create uiObject and add line chart.