fix trend graph to fit width