fixed time period discrepancy issue in graph widgets