Plots

Plots use graphical techniques for representing data, usually as a graph showing the relationship between two or more variables.

Rulex Studio, as Rulex Factory, offers different types of Plots, which are listed in the Widgets panel.

Plots can be divided in three main categories:

In order to start working on a plot, users have to choose the desired one and drag it onto the slide, then they can add attributes to start displaying data.

A plot is made of multiple components, which are explained in the sections below.

Note

The event triggers available for the Plots widget are:

  • onMouseEnter

  • onMouseLeave


Plot input menu

The Plot input menu can be identified by an hamburger menu, located in the top-left corner of the widget, which allows opening the options in it, whose location vary according to the widget position on the stage. The menu usually opens at the left of the widget, but if there is no space, it will open on the right.

The input menu allows users to drop the attributes onto the graphical dimensions of the plot. When dragging the attribute onto the widget, a graphical representation of data is created by default according to the plot type.

Moreover, by right-clicking the graphical dimensions icons in the input menu, it is possible to additionally customize them.

Click here to know more about the options in the input menu.

Note

As each plot is different from the other ones, the available controllers for the configuration will be highlighted in the plot input menu.


Plot modebar

The plot modebar is located in the top-right corner of the plot, and it appears when hovering over this area with the cursor.

The modebar allows users to change the display options of the plot, such as zooming in/out, selecting certain elements to highlight them, or panning in on specific areas.

Click here to know more about the modebar options.

Note

Not all Plots have the same modebar options described above; users can verify the available ones for a specific plot by simply hovering over the modebar area.


Plot context menu

The Plot context menu allows users to organize the visualization of data in the Plots.

In order to open the menu, users can simply right-click any empty spot of the plot, and they will find the following entries:

  • Show categories: here users can decide the amount of data to show. The possible filters are:
    • Show Top 10 categories

    • Show Top 50 categories

    • Advanced, where users can manually insert the number of categories to show and sort them as well.

  • Sort categories: here users can decide how to sort the data. The possible options are:
    • Total value ascending

    • Total value descending

    • Mean value ascending

    • Mean value descending

    • Mode value ascending

    • Mode value descending

    • Median value ascending

    • Median value descending

    • Category ascending

    • Category descending

    • Reference array, where users can manually sort the data and decide the amount to show.

Note

The plot context menu is available for all plots, except the Box plot, the Stat plots, the Pie chart, the Sunburst chart and the Doughnut chart.


Layout options

In the Layout options window, which appears when clicking the Open widget layout, users will find the same plot configuration tabs as in Rulex Factory, except for the SELECTION tab, which is specific of Rulex Studio Plots. The tabs are:

In the list above, users will be returned to Rulex Factory corresponding pages if the tabs are in common.

Plots sharing the same axis

If two plots, located one above the other, have the same attribute on the same axis, it is possible to merge them and to create a unique plot.

After two detached plots have been configured in the same widget, it is possible to remove one of the two identical axis by working in the AXIS tab.

In this tab, users can select the identical axis on both plots then, by right-clicking on the second one selected and choosing Connect axis.

To disconnect them, right-click on the second axis and select Disconnect axis.

Attention

In this operation, the order with which the axis selection is performed determines which axis will remain on the plot.

The first selected axis is the one which will disappear, while the second one will be the one which will be visible on the plot.

On the AXIS tab interface, once the connection is performed, the axis displayed on the plot will become green, while the one which has been deleted will become red.

Selection tab

The Selection tab is made of the following options

  • Plot Selection: it enables or disables the selection operation. The possible values are:
    • Enable - the selection triggers a selection operation on the Widgets specified in the Scope field.

    • Disable - the selection is disabled.

  • Action type: it defines the operation that will be performed on the Widgets specified in the Scope field. The two options are:
    • Filter - it works as a filter action, so once users have selected a portion of data, Rulex creates a filter that is applied to all Widgets specified in the Scope and as a result, only those filtered data will be shown.

    • Selection - only the data of the selected Widgets portions will be shown. The other values do not disappear as for the filter, but will be greyed out.

  • Event type - it defines the way the selection/filter is applied. The available values are:
    • Hover - the data will be selected/filtered when hovering over the plot.

    • Click - the data will be selected/filtered when clicking on the plot.

    • Both - the data will be selected/filtered when clicking or hovering over the plot.

  • Scope - here, users will type the widget names on which the selection/filter will be applied. It is also possible to choose the widgets from the popup which opens by clicking the button next to the Scope box.
    To know more about the Scope section click here.

Note

Plots can trigger a Selection operation and can display the selection effect performed by another widget.