Preconfiguration "Bar graph with default x-axis"

Creates the complex graphic item PmiCanvas configured as bar graph.
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Trend, functions, chart".
This graphic item contains embedded PmiCanvas item named Dynamic. The item has the variable values of the string type containing semicolon-separated values. The binding can be used to connect it to the measured value of the same data structure. The variables of the parent item are accessible in onDraw event by using the pEvent.GetParentVar().
In the parent graphic item PmiCanvas, there are variables titles, colors, textSize, min, axis and max. The variables titles and colors are of the string type containing values separated by semicolons. The textSize variable defines the text size of graph legend. The min and max variables define the value scale range. The axis variable defines the starting value of bars rendering.
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:
- nTicks number of scale segments in the y
- nSpaceY offset of x axis from the bottom edge
These configurators can be set before the preconfiguration is created:
Range from minimum (y)Low limit of the y axis
Value of default x-axisThe value between min and max used as the default value for rendering the graph bars
Range to maximum (y)High limit of the y axis
Bar namesNames of graph bars separated by semicolons
ColorColors in the HTML format (Working with colors description)separated by semicolon
Values (y)Base values on the y axis separated by semicolon
Data emulation in control variable bindingEmulated data will be generated in the control variable
PROMOTIC 8.3.20 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice