fp:cells 标记包含的标记数必须大于零,且标记数必须是 cols 属性所指定列数的倍数。例如,如果您有三列,那么标记数必须是三的倍数。
<fp:cells cols="30,40,30"
<fp:chart ... />
<fp:chart ... />
<fp:chart ... />
<fp:chart ... />
<fp:chart ... />
<fp:chart ... />
/>
| 标记 | 描述 | 属性 | 示例 |
|---|---|---|---|
| chartType | 类型为 chartType 的必需标记,可确定图表类型(如:条形图或 XY 图表)。 |
|
|
pwcDomain 标记可指定图表中所显示的“条件-成员”元组。这些标记属于 pwcDomain 类型。
必须至少使用一个 pwcDomain 标记。所需的 pwcDomain 标记集由图表类型来决定:
|
|
|
|
| viewId | 包含视图标识且类型为 viewParam 的必需标记。 | ||
| fp:chartfilter | 作为快速报告生成的堆积 XY 图表和堆积条形图会使用屏幕上的 X、Y 和扇形选项。缺省情况下,普通报告会选中所有的 X、Y 和扇形复选框。如果使用 fp:chartfilter 标记,您可以更改普通报告的已选复选框集。您可以采用以下某一方式来查找标记值:
|
|
|
| allMembers | 类型为 checkboxParam 的可选标记,可确定所包含的优先级:所有成员的优先级,或当前已登录成员的优先级。缺省值为 false(仅包含当前成员的优先级)。 | ||
| chartSize | chartSize 类型的可选标记,可确定图表的大小。 |
|
|
| chartSorting | chartSorting 类型的可选标记,可确定图表的排序顺序。该标记仅适用于条形图和堆积条形图。 |
|
|
| disagree | 类型为 checkboxParam 的可选标记,可确定是否在图表中显示不一致。该标记仅适用于堆积条形图。缺省值为 false(没有不一致指示器)。 | ||
| prefix | 类型为 checkboxParam 的可选标记,可确定是否在图表中显示前缀。缺省值为 true。 | ||
| title | 类型为 checkboxParam 的可选标记,可确定是否在图表中显示标题。缺省值为 true。 |
<fp:chart descr="A chart" id="430">
<fp:viewParam
name="viewId"
descr="The view that contains the elements"
changeable="template"
id="1"
/>
<fp:chartType
name="chartType"
descr="Type of chart"
changeable="template"
id="2"
defaultvalue="xy"
/>
<fp:chartSize
name="chartSize"
descr="Size of chart"
changeable="template"
id="3"
defaultvalue="small"
/>
<fp:chartSorting
name="chartSorting"
descr="Sorting"
changeable="template"
id="4"
charttypeid="2"
defaultvalue="bestattop"
/>
<fp:checkboxParam
name="allMembers"
descr="Use all members' prioritizations"
changeable="template"
defaultvalue="false"
id="5"
/>
<fp:checkboxParam
name="disagree"
descr="Show disagreement in stacked bar"
changeable="template"
defaultvalue="false"
id="6"
/>
<fp:checkboxParam
name="prefix"
descr="Show element prefix"
changeable="template"
defaultvalue="false"
id="7"
/>
<fp:checkboxParam
name="title"
descr="Show element titles"
changeable="template"
defaultvalue="true"
id="8"
/>
<fp:pwcDomain
name="x"
descr="X axis"
changeable="template"
id="9"
charttypeid="2"
masterid="1"
allmembersid="5"
/>
<fp:pwcDomain
name="y"
descr="Y axis"
changeable="template"
id="10"
charttypeid="2"
masterid="1"
allmembersid="5"
/>
<fp:pwcDomain
name="z"
descr="Z axis"
changeable="template"
id="11"
charttypeid="2"
masterid="1"
allmembersid="5"
/>
</fp:chart>
fp:priority 列表组件会使用通用属性和通用标记,还会使用必需标记 viewId。viewId 标记属于 viewParam 类型,并包含视图标识。
<fp:prioritylist descr="A priority list" id="430">
<fp:viewParam
name="viewId"
descr="The view that contains the elements"
changeable="template"
id="1"
/>
</fp:prioritylist>