Smart trender for industrial control systems