parse int line for line and show chart when pushing button