only show graph UI when there is enough data to draw one.
Merge pull request #55 from ossreleasefeed/bug857770-only-show-graph-element-if-data

only show graph UI when there is enough data to draw one.