Changeset 332 for trunk/web/addons
- Timestamp:
- 04/22/07 22:32:52 (16 years ago)
- Location:
- trunk/web/addons/job_monarch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/conf.php
r329 r332 49 49 // (250 pixels is same width as Ganglia's pie chart) 50 50 // 51 $BIG_CLUSTERIMAGE_MAXWIDTH = 450;51 $BIG_CLUSTERIMAGE_MAXWIDTH = 500; 52 52 53 53 // The size of a single node in the small clusterimage -
trunk/web/addons/job_monarch/libtoga.php
r331 r332 1273 1273 } 1274 1274 1275 if( $n == $x_min )1276 {1277 $mfontspacing = 1;1278 $ylabel_x = $x - ( $fontwidth * strlen( $y_max ) ) - $mfontspacing;1279 $ylabel_y = $y;1280 1281 imageString( $image, $font, $ylabel_x, $ylabel_y, strval( $m ), $colorblue );1282 }1283 if( $m == $y_min )1284 {1285 $mfontspacing = 2;1286 $xlabel_y = $y - ( $fontheight * strlen( $x_max ) );1287 $xlabel_x = $x + $mfontspacing;1288 1289 imageStringDown( $image, $font, $xlabel_x, $xlabel_y, strval( $n ), $colorblue );1290 }1291 1292 1275 if( isset( $nodes[$cur_node] ) ) 1293 1276 { … … 1306 1289 continue; 1307 1290 } 1308 if( ( $rx - $x_min) > $n )1291 if( ( $rx ) > $n ) 1309 1292 { 1310 $m = $y_max ;1293 $m = $y_max + 1; 1311 1294 continue; 1312 1295 } … … 1325 1308 $nodes[$cur_node]->drawBig(); 1326 1309 } 1310 if( $n == $x_min ) 1311 { 1312 $mfontspacing = 1; 1313 $ylabel_x = $x - ( $fontwidth * strlen( $y_max ) ) - $mfontspacing; 1314 $ylabel_y = $y; 1315 1316 imageString( $image, $font, $ylabel_x, $ylabel_y, strval( $m ), $colorblue ); 1317 } 1318 if( $m == $y_min ) 1319 { 1320 $mfontspacing = 2; 1321 $xlabel_y = $y - ( $fontheight * strlen( $x_max ) ); 1322 $xlabel_x = $x + $mfontspacing; 1323 1324 imageStringDown( $image, $font, $xlabel_x, $xlabel_y, strval( $n ), $colorblue ); 1325 } 1326 1327 1327 $cur_node++; 1328 1328 }
Note: See TracChangeset
for help on using the changeset viewer.