Line graph の bug fix