changes to chartdailyfactory.js to fix two minor bugs

Fixes:
- issue rendering data when navigating back to one-day view from a two-week smbg at the very edges of the data domain
- potential issue rendering smbg data if no cbg data present