Z: fixed linegraph time frame bug and x-axis interval bug