Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfigurations Polar chart

Creates the complex graphic item PmiCanvas configured as polar chart.
 
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 and arcus 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 order to draw the chart correctly the angles (range 0 - 360) are stored in arcus variable in ascending order and the corresponding values are in the values variable.
 
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:
nScaleCount - number of circles (values) of the scale
nFontSize - font size of scale descriptors
colorScale - scale circle(s) colour
colorText - scale descriptor colour
posAngle0 - chart orientation when angle is 0°
sColorLine - chart line colour
sColorFill - chart area colour
These configurators can be set before the preconfiguration is created:
Range from minimumStart of the device range
Range from minimumStart of the device range
Chart orientation - value of angle 0° will be:Chart orientation - value of angle 0° will be drawn from the centre. Value in the posAngle0 variable in Dynamic subobject on the Draw page of the DrawGraph method.
Up
Right
Down
Left
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