Hi Bryntum team,
I’m working with TimelineHistogram and I’m trying to reproduce a layout where each histogram cell contains:
the histogram (bars + outline) in the upper part
a small info section below with values like:
Capacity
Load
Evidence
I’ve attached an image to better explain the expected result.
My current approach is:
using getBarDOMConfig to shrink the bar area and leave space below;
injecting custom SVG <text> elements under each bar after render.
However, we are not getting acceptable results. In particular:
positioning is not always precise (due to SVG scaling / transforms);
labels can become misaligned on zoom or resize;
re-rendering (scroll, resize, data updates) makes the solution fragile;
overall it feels like a workaround rather than a proper extension point.
Before continuing in this direction, I’d like to ask:
What would you recommend as the correct approach for this use case?
Specifically:
is there a built-in way to render custom content under each histogram bar?
is getBarDOMConfig the right extension point for this?
is manipulating the SVG after render considered safe/supported?
is there a lifecycle hook/event we should rely on for stable rendering?
Additionally, this seems like a fairly common visualization need.
Would it be possible to introduce official hooks or extension points (e.g. a renderer for per-bar labels or a dedicated “footer area” inside histogram cells) to support this use case more robustly?
Any guidance or suggestions would be greatly appreciated, since our current solution does not feel reliable enough.
Thanks!