![]() | 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.
Configuring the Plotter
Select Configure Plotter on the menu to access the configuration.
{
"codeName": "Plotter-Name"
}
codeName
is the name of the plotter as it is used within the bot’s code.
![]() 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.
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
istrue
for plotters modules developed entirely in JavaScript, and isfalse
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 |
![]() |
histogram |
![]() |
band |
![]() |
moving-average |
![]() |
oscillator |
![]() |
trend |
![]() |
Custom images may be added too. To do that:
-
name the image in the following format:
image-name.png
; -
place images in the
WebServer\Images\Icons
folder; -
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. |