Fixed an int parsing bug in line_chart