Make chart generation faster.