Preconfigurations Table with chart.

Creates the graphic item PmiCanvas configured as a table of daily values of the month with graphic representation.
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Table".
This graphic item contains embedded PmiCanvas item named Dynamic. The content is filled in by the variable named values. The value of this variable is enterd by the method GetData of this graphic item. (The data in this method is emulated for testing purposes.)
In the parent graphic item PmiCanvas there are variables
- Titles - table column names (names separated by semicolon)
- ColsWidth - widths of columns (widths separated by semicolons)
- GraphColors - colors of graphic representation of values of each column (colors separated by semicolon)
- RowsHeight - row height (common value for all rows)
- Rows - total number of rows (including the header)
Additional configuration variables are located at the beginning of context itself, or at the beginning of the user method. The following items can be set: Additional configuration variables of the parent graphic item are located at the beginning of the context itself.
- nBorder - the width of table grid
- sTabBgColor - background color of table data area
- sTabBorderColor - table grid color
- sTabTitleColor - text color of column header
- sTabTitleBgColor - background color of column header
The first column is configured as static with each row representing day of the month. The recommended number of columns with values (except the 1st column) is 1 - 3. The number of columns in the table is defined by Titles variable. (Higher number of columns makes the graphic representation too complex.)
These configurators can be set before the preconfiguration is created:
Table column names (separated by ;)(Day;Water;Gas;Graph;) The first column (day of the month) and last column (graphic representation of values) are static. All columns between the name of the forst and last column are dynamic columns. Hodnota tohoto konfigurátoru bude přenesena do proměnné Titles.
Table column widths (separated by ;)(40;100;100;*;) The * character represents the rest of the width of the graphic item and is reserved for graphic representation of values. The number must be identical with the number of values defined in previous configurator.
Maximum possible data valueThe maximum possible value to be displayed in the table is defined in the valMax variable. This will represent 100% for the graphic representation of the values.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice