|
a/src/main/webapp/statistics.xhtml |
|
b/src/main/webapp/statistics.xhtml |
|
... |
|
... |
42 |
<p>Mean: <h:outputText value="#{statisticsBean.getStatistics().getMean()}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
42 |
<p>Mean: <h:outputText value="#{statisticsBean.getStatistics().getMean()}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
43 |
<p>Median: <h:outputText value="#{statisticsBean.getStatistics().getPercentile(50)}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
43 |
<p>Median: <h:outputText value="#{statisticsBean.getStatistics().getPercentile(50)}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
44 |
<p>Standard Deviation: <h:outputText value="#{statisticsBean.getStatistics().getStandardDeviation()}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
44 |
<p>Standard Deviation: <h:outputText value="#{statisticsBean.getStatistics().getStandardDeviation()}"><f:convertNumber pattern="#,##0.00;(#,##0.00)" /></h:outputText></p>
|
45 |
|
45 |
|
46 |
<p:lineChart id="linear" value="#{statisticsBean.toolAlternativesChartModel}" legendPosition="e" zoom="true" animate="true"
|
46 |
<p:lineChart id="linear" value="#{statisticsBean.toolAlternativesChartModel}" legendPosition="e" zoom="true" animate="true"
|
47 |
title="Number of alternatives per tool" minY="0" maxY="13" style="height:300px" widgetVar="chart"/>
|
47 |
title="Number of alternatives per tool" minY="0" maxY="#{statisticsBean.getStatistics().getMax() + 1}"
|
|
|
48 |
minX="-10" maxX="#{queryBean.allTools.size() + 10}"
|
|
|
49 |
style="height:300px" widgetVar="chart"/>
|
48 |
<p:commandButton type="button" value="Reset" icon="ui-icon-cancel" onclick="PF('chart').resetZoom()"/>
|
50 |
<p:commandButton type="button" value="Reset" icon="ui-icon-cancel" onclick="PF('chart').resetZoom()"/>
|
49 |
</p:tab>
|
51 |
</p:tab>
|
50 |
</p:panel>
|
52 |
</p:panel>
|
51 |
</h:form>
|
53 |
</h:form>
|
52 |
</p:layoutUnit>
|
54 |
</p:layoutUnit>
|