prototype of linechart