Chart Pro Plugin is the additional plugin for the Webstation application extends the capabilities of Rapid SCADA charts: adds scaling, displaying of multiple charts, export to PNG and PDF.
First you need to perform the general sequence of installing plugins, and then perform several additional actions:
Chart Pro Plugin is configured by default. Plugin settings are saved in the PlgChartPro.xml file, which is located in the project in the Webstation configuration directory. If necessary, the system administrator can change the settings by editing the existing file or creating a new settings file.
In addition to the configuration file, chart displaying is determined by the query string. The query string has the following form:
http://localhost/Scada/plugins/ChartPro/ChartPro.aspx?cnlNums=101&viewIDs=2&year=2020&month=3&day=31&mode=fixed&period=1&title=Test&config=PlgChartPro.xml
The query string parameters are as follows.
Parameter | Values | Description |
---|---|---|
cnlNums | Comma separated integers | Input channel numbers displayed on the chart |
viewIDs | Comma separated integers | View IDs for each input channel |
year, month, day | Integers | Start date of the displayed data. If not specified, the current date is used |
mode | fixed | rolling | Chart mode: fixed or rolling |
period | Integer. It can be positive or negative | Period of the chart relative to the start date. In days for fixed mode and in minutes for rolling mode |
title | String. Can be empty | Chart title |
config | String. Can be empty | Chart configuration file name relative to the web application configuration directory |
In the fixed mode, the plugin displays a chart for a selected period of time. The chart data is automatically updated by adding new values to the right side of the chart.
In the rolling mode, the plugin displays a graph from the current moment to the specified depth. The chart data is automatically updated, while the chart shifts from right to left.
The following figure helps to understand the layout of the chart in order to change the plugin configuration.