Adding chart and fixing bugs in View Log