Don't display chart if history is empty.
Merge pull request #3818 from cstyles/null-history

Don't display chart if history is empty (#3691)