Documentation
Points To Plot
Description
The module is the expansion of the Plot module, and it allows defining the points or the number of points to be selected in the Plot activity. In order to configure the connection properly, it is necessary to enter the ID of the Points To Plot module in the Plot's "Broadcast" property and check its "Not activity" property.
Properties
The list starts with the common properties. Learn more about them by visiting the Modules description section. The other available properties are described below.
| Property name | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Source | The base Plot module with which the Points To Plot module is communicating. | ||||||||
| Points to plot | Connecting the points with the plots.
|
||||||||
| Show answers | Defines the points to be displayed in the show answers and gradual show answers modes, e.g., (1,1), (0,0), (-1,1). |
Events
The module sends the ValueChanged type of events to the Event Bus as follows:
| Field name | Description |
|---|---|
| when a point is selected | |
| Item | point_X_Y; point with coordinates X and Y |
| Value | 1 |
| Score | 1 when correct (point belongs to any plot), 0 when incorrect |
| when a point is deselected | |
| Item | point_X_Y; point with coordinates X and Y |
| Value | 0 |
| Score | 0 |
| when the points and a plot are correct (individually for each plot when a point is selected/deselected) | |
| Item | plot_plotId |
| Value | N/A |
| Score | 1 when correct, 0 when incorrect |
If you are using the Advanced Connector, please note that due to the Regular Expression syntax, which has special meaning for "-" and "." characters, you need to escape them with backslash, e.g. point_\-5\.2_4\.5.
The „All OK” event is sent when all answers given in the Plot activity are 100% correct.
| Field name | Description |
|---|---|
| Item | all |
| Value | N/A |
| Score | N/A |
Demo presentation
Demo presentation contains examples of how to use the Points To Plot module with the Plot module.