Make chart rendering 10x more efficient. Closes #105.