"areaMinimumSize"

The attribute areaMinimumSize can be used to set the minimal size for a trend area.

Synopsis

setValue(string shape, "areaMinimumSize", int area, int size);

getValue(string shape, "areaMinimumSize", int area, int size);

shape.areaMinimumSize(int area, int size);

Parameter

Parameter Description
area Trend area. The index starts with 0.
size

The minimum size for a trend area. In case of a vertical trend the size is the width.

In case of a horizontal trend the size is the height.

If the size is set to 0 (default), the size of the area can be reduced to invisible.

If the minimum size is > 0, the size is the smallest size. The other areas are adapted according to the available size of the trend. If the sum of the minimal sizes of the areas is bigger than the available size of the trend, scroll bars are shown for the trend widget.

Description

The attribute areaMinimumSize can be used to set the minimal size for a trend area.

Example

Sets the minimal size of the trend area 1 to 557 pixels.

main()
{
  TREND1.areaMinimumSize(0, 557);
}

Assignment

Trend