Is there a way for me to test at runtime, if the Unit / UnitType combination I am using is valid?
The Timeline doesn’t provide a public method for this. If you want to calculate this manually just be sure if the data range is a month for example, that the UnitType is not Hours, but Days or Weeks.
Also we fixed some issues with the automatic calculations of the ActualUnit/UnitType in the last service releases.