Made chart reusable.