Add extras before rendering chart.