chart fixes

Now updates as you add new dives. Also works well when there is no data.