refine line graph (trend)