Fixup chart generation.