abstract a BaseChart class  and add line chart
Signed-off-by: PacoIrene <zhenyangchu@gmail.com>