"areaClosable"

With the trend attribute "areaClosable" you can close a trend area.

Synopsis

shape.areaClosable(int area, bool closable);

setValue(string shape, "areaClosable", int area, bool closable);

getValue(string shape, "areaClosable", int area, bool closable);

Parameter

Parameter Description
area The trend area that should be closed.
closable Close a trend area (1).

Description

When set to true, an area shows a close button in the upper right corner.

When you click the button, the clicked area is removed from the trend widget

Example

This example shows a close button for a trend area and you can close it.

main()
{
  TREND2.areaClosable(0,1);
}
Abbildung 1. Trend area with a close button (x)

Assignment

Trend