Update line chart view in spot result item view.

1. extract the line chart logic and make sure it can be used if we can provide the right data.
2. update the line chart style.

TODO: need to make the line chart style more user friendly.