4
<title>Survey Analysis Result Screen</title>
5
<link type="text/css" rel="stylesheet" media="screen" href="css/StylesForTags.css">
8
var chartNamesToView = new Array();
9
chartNamesToView[0] = new Array("Nothing");
10
chartNamesToView[1] = new Array("Vertical3DBarChart","Horizontal3DBarChart","LineChart","LineAndBarChart","DualAxisChart","AreaChart","PieChart3D");
11
chartNamesToView[2] = new Array("Vertical3DBarChart","Horizontal3DBarChart","LineChart","LineAndBarChart","DualAxisChart","AreaChart");
13
function nextCharttoView()
17
var tempICount = $selectedServiceList.size();
18
if(tempICount==0) chartType=0;
19
else if(tempICount==1) chartType=1;
22
if(indexForChart >= chartNamesToView[chartType].length) indexForChart=0;
23
iframeForChart.location.href = "generateChart.action?currentChart="+chartNamesToView[chartType][indexForChart];
26
function prevCharttoView()
30
var tempICount = $selectedServiceList.size();
31
if(tempICount==0) chartType=0;
32
else if(tempICount==1) chartType=1;
35
if(indexForChart < 0) indexForChart=chartNamesToView[chartType].length-1;
36
iframeForChart.location.href = "generateChart.action?currentChart="+chartNamesToView[chartType][indexForChart];
43
<input type="button" name="prevChartButton" id="prevChartButton" style="width: 40; height: 35; background-image: url('images/moveLeft.gif'); background-repeat: no-repeat; background-position: center; " onClick="prevCharttoView()" title="Previous">
44
<input type="button" name="nextChartButton" id="nextChartButton" style="width: 40; height: 35; background-image: url('images/moveRight.gif'); background-repeat: no-repeat; background-position: center;" onClick="nextCharttoView()" title="Next">
48
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: dotted" bordercolor="#111111" width="100%">
50
<td class="TableHeadingCellStyles" style="border-style: dotted; border-width: 1">Service Name</td>
51
#foreach($xaxisvalue in $xseriesList)
52
<td class="TableHeadingCellStyles" align="center" style="border-style: dotted; border-width: 1">$xaxisvalue</td>
56
#foreach($onedataList in $dataList)
58
<td class="TableHeadingCellStyles" style="border-style: dotted; border-width: 1">$yseriesList.get($count1)</td>
59
#foreach($data in $onedataList)
60
<td class="TableDataCellStyles" align="center" style="border-style: dotted; border-width: 1">$data</td>
62
#set($count1 = $count1 + 1)
69
<iframe name="iframeForChart" id="iframeForChart" src="generateChart.action?currentChart=Vertical3DBarChart" width="850px" height="550px" scrolling=auto frameborder="0"></iframe>
73
#set($count2 = $indicatorListSize.intValue() - 1)
75
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-style: dotted" bordercolor="#111111" width="100%">
77
<td class="TableHeadingCellStyles" width="30%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"><font color="maroon">Indicator Names</font></td>
78
<td class="TableHeadingCellStyles" width="30%" colspan="2" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"><font color="maroon">Formula</font></td>
79
<td class="TableHeadingCellStyles" width="20%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"><font color="maroon">Numerator DataElements</font></td>
80
<td class="TableHeadingCellStyles" width="20%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"><font color="maroon">Denominator DataElements</font></td>
82
#foreach($count1 in [0..$count2])
83
#set($service = $selectedServiceList.get($count1))
85
<td class="TableHeadingCellStyles" width="30%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1">$service.getName()</td>
86
<td class="TableHeadingCellStyles" width="25%" align="center" style="border-left-style:dotted; border-left-width:1; border-right-width:0; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"><u>$service.getNumeratorDescription()</u><br>$service.getDenominatorDescription()</td>
87
<td class="TableHeadingCellStyles" width="5%" align="left" style="border-left-style:dotted; border-left-width:0; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1"> X $service.getIndicatorType().getFactor()</td>
88
<td class="TableHeadingCellStyles" width="20%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1">$numeratorDEList.get($count1)</td>
89
<td class="TableHeadingCellStyles" width="20%" style="border-left-style:dotted; border-left-width:1; border-right-width:1; border-top-style:dotted; border-top-width:1; border-bottom-style:dotted; border-bottom-width:1">$denominatorDEList.get($count1)</td>
91
#set($count1 = $count1 + 1)
b'\\ No newline at end of file'