v7.3.0

TimelineHistogramBase
Abstract

Base class for TimelineHistogram class. Provides core histogram rendering, series management, and tooltip generation. Not to be used directly.

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • When set to true (default) the component reacts on time axis changes (zooming or changing the displayed time span), clears the histogram data cache of the records and then refreshes the view.

  • An instance or a configuration object of the underlying Histogram component that is used under the hood to render actual charts. In case a configuration object is provided the built class is defined with histogramWidgetClass config.

    Has a corresponding runtime histogramWidget property.

  • The class used for building the histogram widget

  • Set to true if you want to display a tooltip when hovering an allocation bar. You can also pass a Tooltip#configs config object. Please use barTooltipTemplate function to customize the tooltip contents.

    Has a corresponding runtime showBarTip property.

  • Set to true to display the bar tooltip when navigating the timeaxis cells using ScheduleContext feature. The tooltip is disabled by default when navigating to make the navigation easier.

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class
    • Called by RowManager before animated row removal (collapse). Marks histogram <g> groups for the affected record IDs so they can be animated out instead of instantly removed.

    • createZoomGhost( )
      private

      Clones the histogram canvas into a ghost overlay for cross-fade on zoom end.

    • Temporarily enables CSS transitions on the histogram canvas for data-driven changes. Uses Widget's isAnimating API which toggles the b-animating CSS class on the view element. Transitions are disabled by default (scroll/zoom shouldn't animate).

    • fadeOutZoomGhost( )
      private

      Fades out and removes the ghost canvas, revealing recalculated content underneath.

    • DomSync callback for histogram bar elements. Handles exit transitions — adds the b-removing CSS class to trigger the exit animation, then removes the element after the transition completes. Only active when isAnimating is true (data changes, not zoom/scroll).

    • DomSync callback for histogram <g> row groups during tree toggle animation. Handles animated removal of collapsing groups and animated addition of expanding groups.

    • Called after RowManager finishes rendering a batch of rows. Builds a single domConfig tree for the entire canvas and syncs it in one DomSync pass.

    • removeZoomGhost( )
      private

      Immediately removes the ghost canvas without animation.

    • Schedules the component rows refresh on the next animation frame. However many time it is called in one event run, it will only be scheduled to run once.

    • Syncs all SVG row group positions to match current row positions. Called on vertical scroll because row positions change silently during virtual scroll recycling. Re-runs the full canvas DomSync with updated transforms.

    Events

    Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

    Event handlers

    Event handlers are callbacks called as a result of certain actions in this class

    Type definitions