Replace index with chart