Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfiguration "Wind direction chart (compass-card)"

Creates the complex graphic item PmiCanvas configured as wind direction 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 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 average values of wind strenght in corresponding times are stored in values variable. These are 8 or 16 values separated by semicolon where the first value is north and further directions follow clockwise.
 
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 - scale raster number
nFontSize - descriptor font size
colorScale - scale circle(s) color
colorText - descriptor color
sColorLine - chart line color
sColorFill - chart area color
These configurators can be set before the preconfiguration is created:
Range from minimumStart of the device range
Range to maximumEnd of device range
Direction measurement accuracyDescription of directions.
8 directions - north, northeast, east, ..
16 directions - north, north northeast, northeast, ..
Value in the sTitle variable on the Draw page of the DrawScale method.
to 8 directions
to 16 directions
ValuesBase values(values)
Data emulation in control variable bindingEmulated data will be generated in the control variable
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice