added options for trace length @ x-axis