PieChartBean

PieChartBean

The PieChartBean is a visual component, which is a diagram in the form of a circle. The data are divided into triangular wedges. Each wedge represents a percentage corresponding to a particular value.

The diagram is based on the PieChart of the JavaFX charts, which are available from Java 8 onwards.

At runtime, title and legend as well as the data itself can be set, queried, changed and deleted again. In addition, one or more wedges can be selected simultaneously – the selection is provided by a trigger to react to it.