Automatically zoom to fit all data when project timeline is set. Default: true.
Custom tooltip function for histogram bars. Set to null for default tooltip.
Working calendar observable.
New working calendar to apply.
Whether editing is enabled. When false, all mutations are disabled.
Whether redo is available (observable).
Whether undo is available (observable).
All resources and allocations.
Display mode: 'bar' for bar chart, 'area' for area chart. Default: 'bar'.
Event emitters for subscribing to histogram events.
Active resource filter function. Set to null to show all resources.
Settings object — access theme and locale.
The sheet (table) component.
Show or hide grid lines on the chart.
Show or hide the capacity threshold line. Default: true.
Show or hide the today indicator line.
View mode: 'resource' for per-resource rows, 'aggregate' for combined single row. Default: 'resource'.
Bind this histogram to a GanttChart for live data synchronization. The histogram will automatically reflect the Gantt's resources, task assignments, zoom level, and scroll position. Call unbindFromGantt() to disconnect.
Clear the active resource filter (show all resources).
Remove all timeline markers.
Destroy the component and release all DOM resources.
Export histogram data as a CSV string.
Optionaloptions: HistogramCsvExportOptionsExport histogram data as an Excel (.xlsx) blob. Requires the exceljs package.
Optionaloptions: HistogramExcelExportOptionsExport the histogram view as a PNG image blob.
Export the histogram view as a PDF blob. Requires the jspdf package.
Optionaloptions: GanttPdfExportOptionsScroll the timeline to the project start date.
Load state from a JSON string. Automatically zooms to fit if data is present and autoZoomToFit is enabled.
Redo the last undone action.
Serialize the complete histogram state to a JSON string.
Save current column widths and order for later restoration.
Scroll the timeline to a specific date.
Disconnect from a previously bound GanttChart. The histogram retains its current data but stops syncing.
Undo the last action.
Zoom in one level. Returns false if already at maximum zoom.
Zoom out one level. Returns false if already at minimum zoom.
Fit the view to show all allocations.
The Resource Histogram component engine. Displays resource utilization over time.