improve graph handling of missing data

fix https://jira.zenoss.com/browse/ZEN-13261

Note: `src/main/resources/api/visualization.js` is the compiled library, so the changes there are just duplicates.