"areaMargins"

Defines the margins for an area inside of the trend.

Synopsis

trendObj.areaMargins(int area,int left, int top, int right, int bottom)

setValue(trendObj, "areaMargins", int area,int left, int top, int right, int bottom);

getValue(trendObj, "areaMargins", int area,int left, int top, int right, int bottom);

Parameter

Parameter Description
trendObj Trend for which the attributed should be get or set.
area ID of the area for which the attribute should be get or set.
left Left margin
top Top margin
right Right margin
bottom Bottom margin

Description

The attribute allows to define the margins that are used for the area inside of a trend widget.

Example

Following example sets the margins of the first trend area to 5px for all sides.

main()
{
  myTrend.areaMargins(1,5,5,5,5);
}

Assignment

Trend