Changeset 242
- Timestamp:
- 01/19/12 12:50:28 (13 years ago)
- Location:
- Dev/branches/Cartis
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/Cartis/dashboardDataSelection.php
r239 r242 24 24 </head> 25 25 <body> 26 27 <div id="breadcrumbs">28 <?php29 $pagetitle = "Dashboard Data Selection";30 include("breadcrumbs.php");31 ?>32 26 </div> 33 27 -
Dev/branches/Cartis/dashboardGraphSelection.php
r239 r242 25 25 <script src="RGraph/libraries/RGraph.common.resizing.js" ></script> 26 26 <script src="RGraph/libraries/RGraph.bar.js" ></script> 27 <script src="RGraph/libraries/RGraph.pie.js" ></script> 27 <script src="RGraph/libraries/RGraph.pie.js" ></script> 28 <script src="RGraph/libraries/RGraph.radar.js" ></script> 28 29 29 30 … … 80 81 } 81 82 </script> 83 82 84 83 85 <title> … … 90 92 <body> 91 93 <div id="header"> 92 93 </div> 94 95 96 <div 97 <div id="breadcrumbs"> 98 <?php 99 $pagetitle = "Dashboard Graph Selection"; 100 include("breadcrumbs.php"); 101 ?> 94 102 95 </div> 103 96 104 97 105 <div id="content"> 106 <div id="wrapper"> 98 <div 99 <div id="content"> 100 <div id="wrapper"> 107 101 108 <div id="leftColumn">102 <div id="leftColumn"> 109 103 110 <div class="largeFrame C" id="dbDataSelector">111 <div class="content">104 <div class="largeFrame C" id="dbDataSelector"> 105 <div class="content"> 112 106 113 <div class="largeTitle">Selected data</div>114 <div class="content" style="width: 300px; height: 500px; ">107 <div class="largeTitle">Selected data</div> 108 <div class="content" style="width: 300px; height: 500px; "> 115 109 116 <?php 117 print_r($data); 118 ?> 110 <?php 111 print_r($data); 112 ?> 113 114 </div> 115 116 </div> 117 </div> 118 </div> 119 120 <div id="rightColumn"> 121 <div class="largeFrame Cv" style="width: 600px; height: 400px;"> 122 <div class="largeTitle">Graph selection</div> 123 <div class="topControls" id="graphTypeSelector" style="float: left; clear: left; width: 100%; margin: 0; border: 1px solid #000;"> 124 <div id="btnSelectPieType" class="graphSelectionButton" onclick="changeGraphType('pie')">PIE CHART</div> 125 <div id="btnSelectBarType" class="graphSelectionButton" onclick="changeGraphType('bar')">BAR CHART</div> 126 <div id="btnSelectRadarType" class="graphSelectionButton" onclick="changeGraphType('radar')">RADAR CHART</div> 127 </div> 128 <div class="content" id="graphDisplay"> 129 130 <canvas id="chart1" width="450" height="200" onclick="RGraph.showPNG(document.getElementById('radar1'));">[No canvas support] </canvas> 131 132 <!-- Button to gotoDashboard?? --> 133 134 </div> 135 136 <div class="controls"> 137 <input type="button" class="smallButton" value="Save to dashboard" onClick="addToDashboard()"></input> 138 <input type="button" class="smallButton" value="Go to Dashboard" onClick="gotoDashboard()"></input> 139 119 140 120 141 </div> … … 122 143 </div> 123 144 </div> 124 </div>125 145 126 <div id="rightColumn">127 <div class="largeFrame Cv" style="width: 600px; height: 400px;">128 <div class="largeTitle">Graph selection</div>129 <div class="topControls" id="graphTypeSelector" style="float: left; clear: left; width: 100%; margin: 0; border: 1px solid #000;">130 <div id="btnSelectPieType" class="graphSelectionButton" onclick="changeGraphType('pie')">PIE CHART</div>131 <div id="btnSelectBarType" class="graphSelectionButton" onclick="changeGraphType('bar')">BAR CHART</div>132 <div id="btnSelectRadarType" class="graphSelectionButton" onclick="changeGraphType('radar')">RADAR CHART</div>133 </div>134 <div class="content" id="graphDisplay">135 146 136 <canvas id="chart1" width="450" height="200" onclick="RGraph.showPNG(document.getElementById('bar1'));">[No canvas support] </canvas>137 138 <!-- Button to gotoDashboard?? -->147 <div class="largeFrame Cu" id="dbInfoPanel" style="width: 930px;"> 148 <div class='largeTitle'>Info panel</div> 149 <div class="content" id="dbInfoPanelContent" style="height: 100px;"> 139 150 140 151 </div> 141 152 142 <div class="controls">143 <input type="button" class="smallButton" value="Save to dashboard" onClick="addToDashboard()"></input>144 <input type="button" class="smallButton" value="Go to Dashboard" onClick="gotoDashboard()"></input>145 146 </div>147 153 148 154 </div> … … 150 156 151 157 152 <div class="largeFrame Cu" id="dbInfoPanel" style="width: 930px;">153 <div class='largeTitle'>Info panel</div>154 <div class="content" id="dbInfoPanelContent" style="height: 100px;">155 158 156 </div> 157 158 159 </div> 160 </div> 161 162 163 164 </body> 165 </html> 159 </body> 160 </html> -
Dev/branches/Cartis/dashboardOverview.php
r239 r242 65 65 <div class="largeTitle">Dashboard Overview</div> 66 66 <div class="content" id="graphDisplay"> 67 <input type="hidden" id="inputDataField" value='<?php echo $dataIn; ?>' /> 68 67 68 <input type="hidden" id="inputDataField" value='<?php echo $dataIn; ?>' 69 69 70 70 71 </div> -
Dev/branches/Cartis/index.php
r207 r242 49 49 50 50 if (isset($_SESSION['userUid'])) { // User just registered a new account 51 redirect('selectSession.php'); 51 //aangepast voor Flow 52 redirect('dashboardDataSelection.php'); 52 53 } 53 54 ?> -
Dev/branches/Cartis/js/dashboardScripts.js
r227 r242 208 208 form.appendChild(input); 209 209 form.submit(); 210 //alert("Graph type is now: "+graphSelection); 211 210 212 } 211 213 … … 227 229 } 228 230 229 //alert("Graph type is now: "+graphSelection.graphType);231 230 232 var data = formatGraphData(); 231 233 drawGraph('chart1', 450, 200, graphSelection.graphType, data); 234 235 // alert("Graph type is now: "+graphSelection.graphType); 232 236 } 233 237 … … 246 250 return mockupData.muData1; 247 251 248 //alert("Data is now being formatted");252 //alert("Data is now being formatted"); 249 253 } 250 254 … … 272 276 break; 273 277 case "Radar": 274 //chart1 = new RGraph.Radar('chart1', graphSelection.graphData);278 chart1 = new RGraph.Radar(name, data); 275 279 break; 276 280 default:
Note: See TracChangeset
for help on using the changeset viewer.