Skip to main content

Quantela platform user manual

Configure chart widget filters

The chart widget can filter the displayed data based on the custom filters or aggregation configured.

updated_chart_widget_filters.PNG

Firstly, in order to be able to see the Filters option in the chart widget Configuration, the dataset has to be configured with Request Parameters in the Dataset tab of this chart widget. Also, in order to be able to create Dynamic Filters in Custom Filter, a separate dataset with Request Parameters in the Dataset tab has to be created for the filters with the data source type as CSV.

  1. If the widget configuration dialog box is not already open, do as follows:

    • If the widget is on a Grid layout dashboard, click the Menu icon new_settings_menu.png in the top right-hand corner of the widget and select Settings.

    • If the widget is on a Fluid layout dashboard, on the floating toolbar for the widget, click the Settings icon: new_settings_menu.png.

  2. Click the Configuration tab.

  3. On the left-hand side, click Filters.

  4. Select Custom Filter to create a custom filter.

  5. Change the settings as required.

    Setting

    Description

    Dynamic Filters

    If selected, the filters can be created dynamically using the filters dataset.

    Dropdown View

    If selected, the filter is shown as a drop-down instead of horizontal buttons.

    Enable Refresh

    If selected, the dynamic filters are refreshed on reloading the page.

    Parameter

    The dataset field on which you want to filter.

    Default Value

    The value which should be selected by default. It is not mandatory.

    Label

    The label of the item in the filter.

    Value

    The value of the item in the filter.

    Multi-level (shown only when Dynamic Filters is selected)

    If selected, multiple level of filters can be created.

    Dataset (shown only when Dynamic Filters is selected)

    The filters dataset with which you want to filter.

    Selection Type (shown only when Dynamic Filters is selected)

    The type of selection by which you want to filter:

    • Single Selection

    • Multiple Selection

    Column (shown only when Dynamic Filters is selected)

    The dataset column with which you want to filter.

    add_via_point.png

    Adds another Label and Value.

    new_delete.png

    Deletes a Label and Value.

  6. Click Update.

Once all the configuration settings are done you can see the filters in the chart widget.

custom_filters_charts.PNG
custom_filters_dropdown_charts.PNG

The chart widget can also display the aggregated data on an hourly, daily, weekly, monthly and yearly basis.

Firstly, in order to be able to see the Filters > Aggregation option in the chart widget Configuration, the dataset has to be configured with the input as metricInterval containing enum data. For eg: Every Hour, Every Day, Every Week, Every Month and Every Year. Along with this from and to inputs need to be configured for the time span.

Once the dataset is configured as above, the metricInterval, from and to fields in Request Parameters will be displayed as dropdowns in the Dataset tab of this chart widget and you can make your selections.

inline_aggregation_chart_widget_dataset.png

Note

The item selected in the metricInterval will be considered as the default selection and the initial aggregation will be done based on that selection.

new_chart_widget_aggregation.PNG
  1. If the widget configuration dialog box is not already open, do as follows:

    • If the widget is on a Grid layout dashboard, click the Menu icon new_settings_menu.png in the top right-hand corner of the widget and select Settings.

    • If the widget is on a Fluid layout dashboard, on the floating toolbar for the widget, click the Settings icon: new_settings_menu.png.

  2. Click the Configuration tab.

  3. On the left-hand side, click Filters.

  4. Select Aggregation.

  5. Change the settings as required.

    Setting

    Description

    Enable Hourly

    If enabled, displays the Hourly button on the widget so that if it is selected, aggregation can be done hourly.

    Enable Day

    If enabled, displays the Day button on the widget so that if it is selected, aggregation can be done daily.

    Enable Week

    If enabled, displays the Week button on the widget so that if it is selected, aggregation can be done weekly.

    Enable Month

    If enabled, displays the Month button on the widget so that if it is selected, aggregation can be done monthly.

    Enable Year

    If enabled, displays the Year button on the widget so that if it is selected, aggregation can be done yearly.

  6. Click Update.

Once all the configuration settings are done you can see the aggregation in the chart widget.

For example, in the first screenshot, we had selected the metricInterval as Every Month so by default, after the configurations are done, the data will be aggregated monthly as seen in the figure below:

inline_aggregation_month_chart.png

If Hourly button is then selected, the data will be aggregated hourly as seen in the figure below:

inline_aggregation_hourly_chart.png

If Day button is then selected, the data will be aggregated daily as seen in the figure below:

inline_aggregation_day_chart.png

If Week button is then selected, the data will be aggregated weekly as seen in the figure below:

inline_aggregation_week_chart.png

If Year button is then selected, the data will be aggregated yearly as seen in the figure below:

inline_aggregation_year_chart.png