0
爲什麼上面的代碼工作並且下面的折線圖不可用? 這兩個例子都來自bootsfaces.net網站。 餅圖顯示正確,但折線圖只有Titel的是shown.Both共享同一個bean propertys來自Highfaces的圖表不適合工作
<b:row>
<b:column col-md="6" col-xs="6">
<hf:chart type="pie" title="Series with individual lists">
<hf:chartSerie name="Boys" value="#{lineChartBean.boys}"
var="point" point="#{point.amount}" tickLabel="#{point.year}"
dataLabel="{point.name}: {point.percentage:.1f} % ({point.y})" />
</hf:chart>
</b:column>
<b:column col-md="6" col-xs="6">
<hf:chart type="line" value="# {lineChartBean.boys}" var="birth"
xaxisLabel="Years" point="# {birth.amount}"
tickLabel="# {birth.year}" title="List of Pojos" />
</b:column>
</b:row>