Plotters read data products created by bots and map certain coordinate points to use them as vertices for polygons, which are assigned styles to create graphic representations of the underlying data.
A plotter is a device used to produce a graphic representation of datasets generated by bots.

Plotters usually have a one-to-one relationship with bots, as they are often created as a customized solution. However, in practice, there is no constraint to creating any number of plotters for a single bot or a single plotter for multiple bots.

The overall workflow of a plotter, while reading a dataset, consists in:

  • Applying a set of rules to identify certain data points;

  • Use those points to form lines and polygons;

  • Apply graphical styles to those lines and polygons.

Those actions are performed recursively for each record, and the graphics are plotted on the charts in real-time as data is processed.

Click to learn more about plotters

Adding a Plotter Node

To add a plotter, select Add Plotter on the data mine node menu. An indicator bot is created along with the basic structure of nodes required to define it.


Plotter

Plotter Module

Plotter Panel

Shapes

Plotter Module

A plotter module is a device within a plotter that contains the definitions to create the visualization for a product definition.

A single plotter may have several modules. Different modules may be used to plot each product of the bot, or as best suits the expected use-pattern.

Plotter-Module-01

Plotter-Module-02-Product-Link

Click to learn more about plotter modules

Adding a Plotter Module Node

To add a plotter module, select Add Plotter Module on the plotter node menu.

Configuring the Plotter Module

Select Configure Plotter Module on the menu to access the configuration.

{
    "codeName": "Module Name",
    "isLegacy": true,
        "icon": "histogram"
}
  • codeName is the name used in the code to refer to the module.

  • isLegacy is true for plotters modules developed entirely in JavaScript, and is false or doesn’t show in the configuration for plotters built with the tools featured in the data mine hierarchy.

  • icon is the name of the image that illustrates the corresponding layer in the Layers Panel. In case the banner is not specified, the default banner is used. Current possible values are:

Value Image
default Default-Banner
histogram Histogram-Banner
band Bands-Banner
moving-average Moving-Average-Banner
oscillator Oscillator-Banner
trend trends-banner

Custom images may be added too. To do that:

  1. name the image in the following format: image-name.png;

  2. place images in the WebServer\Images\Icons folder;

  3. in the configuration of the module, use the name as is (e.g.: "icon": "image-name")

Plotter Panel

A plotter panel usually shows numerical representations of data over the charts on a small window or panel. The plotter panel node features definitions to make that possible.

Shapes

The shapes node contains definitions of polygons and styles to be rendered on a per-period basis over the charts.