Add Generics to Line Chart