MultiPieChartExpression

Description

The MultiPieChartExpression is used to create a group of pie-charts (much like a dashboard). It is a categorical chart because you end up getting one pie chart per category. It inherits directly from AbstractChartExpression, and adds a few additional properties.

MultiPieChartExpression Properties

Property Name

Data Type

Description

multipieByRow

Boolean (true/false)

If true, then the data for the chart is organized by row. If false, then the data is organized by column. Default: true

multipieLabelFormat

String

When the pie charts are generated, the pie pieces of each pie are labeled using this label format mask. Can be a combination of text, and any of the following replaceable parameters:
{0} - The item key
{1} - The item value
{2} - The item value as a percentage
Default (from JFreeChart): {0} = {1}

seriesColors

Array of Strings

Zero-based array of strings, one color for each series (pie slice). Each element is a color in either HTML notation (like #80f000), or one of the w3c defined color names (like "cadet blue").
Example:
<property name="seriesColor[0]">#018FE1</property>
<property name="seriesColor[1]">#CB02D2</property>