categoryFilter

Type: object
Default:

{
enabled: false,
multiSelect: true,
zoomOnSelect: false
}

Used to enable or disable the category filter GUI, as well as configuring certain aspects of it.

The category filter allows the user to refine the search of tickets suitable for them without the need of coding any custom UI. It works for both desktop and mobile out of box.

Parameters that aren't passed will use their default values instead.

Supported parameters are:

  • enabled - Default: false. If true, the category filter will be visible.
  • multiSelect - Default: true. If true, multiple categories can be selected at once.
  • zoomOnSelect - Default: false. If true, the chart will zoom in or out to fit in the viewport the filtered objects.

Category filters - desktop 2.gif

Category filters - mobile 2.gif

Notice

To use the two-step layout, where the categories filter is fully displayed on the left side, the embed must be wide enough to support this. It will otherwise dock to the top of the screen.