Preconfiguration "Histogram - Bar graph"
Creates the complex graphic item PmiCanvas
configured as histogram - 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
. The variables titles
are of the string
type containing values separated by semicolons. The textSize
variable defines the text size of graph legend. The min
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)||Low limit of the y axis|
|Range to maximum (y)||High limit of the y axis|
|Bar value ranges||Value ranges of graph bars separated by semicolons|
|Color||Colors in the HTML format (Working with colors description)|
|Values (y)||Base values on the y axis separated by semicolon|
|Data emulation in control variable binding||Emulated data will be generated in the control variable|