Configure the result diagram

By default, a diagram is created which counts the different values in a column and shows the results. To use this diagram, the column which should be displayed needs to be selected first. The member 'columnId' holds the column id of the column to display.

ACTION S9: Select the column to be displayed

The columnId is the key of the column to use for the result diagram. You can select any column you defined in the search results.

Adapt in File: <feature>-search.component.ts

    // Please select the column to be displayed
    columnId = 'id';
    column = this.columns.find((e) => e.id === this.columnId);

Please refer to the GroupByCountDiagram Component for more adaptations.

Remove the "ACTION" comment after working on this task