Added default init for bar and line charts.