compiles simple code
chart size properly