No longer making regression line request when no data is available.
Code cleanup.

Change-Id: I1db0f1e37fc3fda2b84da3e6d4f7182ebf2026b4