|
<< Click to Display Table of Contents >> Navigation: Components > Display and Signal > MiniChart |
A diagram can be created with this component. The diagram can be displayed in the image component. The diagram is generated based on values and their supporting points (x-value position). No time series are generated. Only static diagrams.
Note on display in different application scenarios:
The generated images are stored in the folder "C:\ProgramData\Alexander Maier GmbH\EisBaer 3.0\www" of the EisBaer server.
Local operation only: Data point "Diagram image file (local file)" is linked to the image component. -> EisBaer server and client run on the same machine. No access via network or internet is possible.
Local network: "Publish images" propertydisabled, "Diagram image file (Http(s) URL)" data pointis connected to the image component. -> EisBaer server and client run on different machines or apps in the local network. Access via the local network is possible. No internet access
Internet:Publish Images propertyenabled, data point "Diagram Image File (Diagram Image File (Http(s) URL)" is connected to the image component. -> EisBaer server and client can run on different machines, apps, locally or on the internet. The images are cached on our web server. FTP access to "http://eisbaer-scada.net" must be possible.
Data points of the component
Name |
Type |
Function |
|---|---|---|
Update status |
Folder |
This subfolder contains data points for outputting update time, whether the update was successful and whether the update is in progress. |
Backup trigger |
Input |
An on or off signal creates a backup from the current display |
Range display |
Input |
Switches between range display (ON) and total display. |
Range display end (x) |
Input |
The end value for the range display can be set here. |
Range display end (y) |
Input |
The end value for the range display in the Y direction can be set here. |
Range display start (x) |
Input |
The start value for the range display can be set here. |
Range display Start (y) |
Input |
The start value for the range display in the Y direction can be set here. |
Display CSV [string] |
Input |
Graphics can be generated from a CSV file via"File selection (file content)". The transfer of the text outputs of the SMARD component can also be linked here. |
Delete Data |
Input |
Clears the display |
Diagnosis [Text] |
Output |
Here, a diagnosis can be output as text. Attention: Diagnostic or debug outputs are only intended for use in the event of an error. Please only use them after consulting the support team! If used, these can considerably impair the performance of the service. |
Update diagram |
Input |
Updates the display and creates a new diagram. |
Diagram path (local file) |
Output |
Output of the local file location for the data. This file path can be linked to the image component. The chart is only displayed if the server and client are running on the same machine. |
Diagram path (URL) |
Output |
For external access (EisBaer clients in the network), the URL to the diagram file must be sent to the data point of the image component: Example: http(s)://IP-ADRESSE:8003/Eisbaer.RESTServices/CustomWebsite/ |
Diagram path backup (URL) |
Output |
For external access (EisBaer clients in the network), the URL to the diagram file must be sent to the data point of the picture component: Example: http(s)://IP-ADRESSE:8003/Eisbaer.RESTServices/CustomWebsite/ |
Diagram path backup (local file) |
Output |
Output of the local storage location for the data. This file path can be linked to the image component. The chart is only displayed if the server and client are running on the same machine. |
Dynamic |
Folder |
1 data point is generated per channel. If numerical values are sent to the inputs, this is shown in the diagram. |
Extended diagnosis |
Input |
Enables the extended diagnosis output via an on signal. |
Graph type |
Input |
The graph can be switched via a number. Possible graphs are: Line graph, pie chart and bar chart. |
Maximum Y-value |
Input |
The maximum Y-value can be entered here for scaling. If min and max are identical, scaling is automatic. |
Minimum Y-value |
Input |
The minimum Y-value can be entered here for scaling. If min and max are identical, scaling is automatic. |
Generate cyclically |
Bidirectional |
If activated, the image is recalculated in the set time period. |
Properties of the component
Name |
Standard |
Function |
|---|---|---|
Channels |
0 |
Create the interpolation points (X-axis position) for the display value with name, factor and colour. At least 2 channels must be created. 1 data point is created per channel. |
Import-Culture |
German (de-DE) |
Selection for formatting numbers, date and time |
Colour (graph) |
|
Select the colour for the graph. |
Colour (background) |
|
Select the background colour for the display. |
Colour (Text) |
|
Colour of the text (caption) |
Colour (selection area) |
|
If there is a selection area, the colour set here for the area is displayed in the background. |
Colour (selection area frame) |
|
If there is a selection area, the colour set here is used for the frame. |
Show selection area frame |
|
Show/hide the frame around the selection area. |
Diagram title |
Title |
Title of the diagram |
X-axis |
Index |
Label for the X-axis |
Y-axis |
Value |
Label for the Y-axis |
Minimum Y-value |
0 |
For scaling, the minimum Y-value can be entered here. If min and max are identical, scaling is automatic. |
Maximum Y-value |
0 |
The maximum Y-value can be entered here for scaling. If min and max are identical, scaling is automatic. |
Range display |
|
Switches between range display (ON) and total display. |
Range display end (x) |
2 |
The end value for the range display can be set here. |
Range display start (x) |
1 |
The start value for the range display can be set here. |
Range display start (y) |
1 |
The start value for the range display in the Y direction can be set here. |
Range display end (y) |
2 |
The end value for the range display in the Y direction can be set here. |
Resolution (X) |
1024 |
Specifies the resolution (pixels) that the image should have in width. |
Resolution (Y) |
768 |
Specification of the resolution (pixels) which the image should have in height. |
Line thickness |
4 |
Setting for the line width in pixels. |
Font size (title) |
50 |
Defines the font size for the title of the diagram. |
Font size (text) |
30 |
Defines the font size for the label of the X/Y-axis |
Font size (axes and legend) |
15 |
Defines the font size of the values on the X/Y-axis |
X-Axis vertical |
|
If this option is set, the time axis is displayed vertically, otherwise horizontally. |
X-axis time format |
%H:%M:%S |
The time display can be customised here. |
Offset Label X-Axis |
2 |
Allows the distance between the X-axis text and the X-axis of the diagram to be set between 0 and 10. |
Offset Label Y-Axis |
3 |
Allows the distance between the Y-axis text and the Y-axis of the diagram to be set between 0 and 10. If the value is too high, the text may lie outside the display. Then the parameter "Margin left" must be adjusted so that the text is moved back into the visible area. |
Margin left (shifting the Y-axis to the right) |
12 |
Here you can set the distance between the left edge of the image and the Y-axis of the diagram between 0 and 50. |
Edge right |
6 |
This can be used to set the distance between the diagram and the edge of the image. |
Bottom margin |
5 |
This can be used to set the distance between the diagram and the edge of the image. |
Top margin |
6 |
This can be used to set the distance between the diagram and the edge of the image. |
Activate X offset |
|
Activate to shift the zero point of the X-axis to the right by one data point. |
Diagram Creation on Value Change |
|
If activated, the diagram is immediately redrawn when the value of one of the channels changes. |
Plot type |
Line diagram |
Setting the possible graphs: Line chart, pie chart and bar chart. |
X-Ticks interval |
5 |
X-axis graduation marks (markings) at the specified interval. |
Generate cyclically |
x |
With this option, the diagram is recalculated and output at the time interval entered below. |
Diagram Interval [s] |
60 |
The display of the diagram is updated at the set interval. |
Publish diagrams |
|
If this function is set, the diagrams are published on the web server (http://eisbaer-scada.net/Gnuplott/...). |
User-defined FTP connection |
|
With this activation, the diagrams are stored in a user-defined FTP directory. |
Add timestamp to uploaded images |
|
Adds the timestamp to the file name of the graphic. |
User-defined FTP connection |
... |
Enter the user-defined FTP connection for uploading the graphic. |
URL basis for user-defined publishing |
|
Entry of the URL for user-defined FTP connection from which the graphic is to be downloaded. |
Example for the CSV (X-axis value ; Y-axis value):
1;1
2;2
3;3
4;4
5;3
6;2
7;1