The bar period determines the duration of a bar, the bar offset determines the time when the bar starts.