Chart generation integrated. May be moved outside to dziennikloginweb