ZoomCharts Documentation
Version: 1.21.3 (2025-04-07)
Switch to Version 2.0 (BETA)
Switch to Version 2.0 (BETA)
Display Unit Selection
TimeChart has a sophisticated algorithm that decides which display unit to use. There are number of factors that affect the unit selection, among which are:
- Minimum and maximum unit width.
- Available display units.
- Available data units in data source.
Automatic selection of display unit
Algorithm is optimized to select the largest possible unit that fits within the size bounds.
Display unit is automatically changed, when you zoom in/out the visible time period.
Manual selection of display unit
- You can always use the toolbar selector, that offers all the possible display units. Note, this is created dynamically based on the analysis of the data source and the settings.
- You can use respective API call (
displayUnit
) to change display unit externally.