Adding template for charts (and making display more compact).