Fix charts -> use raw mode

lots of indentation fixes, too