Some pointers that should help:
- When sharing flows on the forum please read this post : How to share code or flow json
- The dashboard chart does support passing in an object of historic data, you just have to get the format right. This page describes how to do it: https://github.com/node-red/node-red-dashboard/blob/master/Charts.md#stored-data