Preconfigurations Bar graph

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 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.
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)Lower limit of the y axis
Range to maximum (y)Upper limit of the y axis
Bar namesNames of graph bars separated by semicolons
ColorColors in the HTML format (Working with colors description)separated by semicolons.
Values (y)Base values on the y axis separated by semicolon
Emulation in the onRefresh eventEmulation in the graphic item event onRefresh
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice