add line chart when preview

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>