adds graphic bars in index.