Skip to Content
SAP Visual Business

UI5 Development: Visualization Object Area

Tags:

Area

An area VO is used to visualize a closed polygon

      

CLSID

{00100000-2012-0004-B001-F311DE491C77}

The attributes of the area are the following:

AttributeBindingTypeH/NDefaultDescription
typeNostringYes/Yesmust be the above CLSID
idNostringYes/Yesspecifies the id of the VO
datasourceNostringpath to a data node
posarrayYesvectorarrayYes/Yesboundary points of the VO
tooltipYesstringNo/Yestooltip text of the VO
colorYescolorNo/Yesfill color of the area
colorBorderYescolorNo/Yesborder color of the area
dothotScaleYesvectorYes/Yes1;1;1x,y,z only x factor is used to scale the radius
hotDeltaColorYesstringNo/Yesrelative or absolute color value that is applied to all color values when the VO is hot
fxsizeYesboolean

Yes/Yes

when set, the VO should not scale
fxdirYesbooleanNo/Yesthe VO does not rotate when the map is rotated.
DragSourceNoobjectNo/Yes

drag filter information
DropSourceNoobjectNo/Yes

drop filter information

                     

EventsH/NDescription
ClickYes/Yesfired when the VO is clicked or there is a corresponding touch event on the VO
ContextMenuYes/Yesfired when there is a right click or a corresponding touch event on the VO
HandleContextMenuYes/Nofired when there is a click or touch on a design handle


Remarks

For the area it is not necessary that the polygon is closed, this means, that the last point in the vector array does not need to match the first one.

Sample

     {

              "id": "Area",

              "type": "{00100000-2012-0004-B001-F311DE491C77}",

              "datasource": "Areas",

              "posarray.bind": "Areas.PosList",

              "scale": "1.0;1.0;1.0",

              "color.bind": "Areas.Color",

              "colorBorder.bind": "Areas.BorderColor",

              "tooltip.bind": "Areas.ToolTip",

              "hotDeltaColor": "RHLSA(0;1.0;1.0;2.0)"

     }

No comments