Fix problem with old line-chart component