Atomic Angular — Doc interne

Data visualization

Render a Sinequa aggregation as a heatmap, a tag or word cloud, or a Chart.js bar/pie/doughnut/timeline — all in controlled mode, like <Aggregation>.

Every component here follows the same contract as <Aggregation> in controlled mode: it takes an aggregation (or aggregations) input, never reads or writes QueryParamsStore / AggregationsStore, and reports interactions through outputs. A chart is therefore interchangeable with a list facet — feed it from AggregationsStore, from QueryService.search() or from fetchQuery(), whichever suits, and wire its output back into a filter the same way.

Two entry points

Heatmap, TagCloud and WordCloud need no charting dependency and ship from the main @sinequa/atomic-angular entry point. AggregationChart, AggregationTimeline and AggregationHeatmap are built on Chart.js, an optional peer dependency — they ship from a separate @sinequa/atomic-angular/charts entry point (and, for the matrix-based heatmap, a further @sinequa/atomic-angular/charts/heatmap), so an application that never imports from there never needs chart.js installed.

What's next

On this page