Changeset 526
- Timestamp:
- 02/13/11 23:21:30 (2 years ago)
- Location:
- raptor-mua/trunk/src/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
raptor-mua/trunk/src/main/java/uk/ac/cardiff/raptormua/engine/statistics/StatisticsHandler.java
r517 r526 178 178 */ 179 179 private void update(Statistic statistic, StatisticalUnitInformation statisticalUnitInformation) { 180 180 181 if (statisticalUnitInformation.getStatisticParameters().getEndTimeAsDate() != null) 181 182 statistic.getStatisticParameters().setEndTime( … … 187 188 statistic.getStatisticParameters().setMethodParams( 188 189 statisticalUnitInformation.getStatisticParameters().getMethodParams()); 189 //if (statisticalUnitInformation.getStatisticParameters().getSeries().getSeriesLabel() != null)190 // statistic.getStatisticParameters().getSeries().setSeriesLabel(191 // statisticalUnitInformation.getStatisticParameters().getSeries().getSeriesLabel());190 if (statisticalUnitInformation.getStatisticParameters().getPresentation().getGraphTitle() != null) 191 statistic.getStatisticParameters().getPresentation().setGraphTitle( 192 statisticalUnitInformation.getStatisticParameters().getPresentation().getGraphTitle()); 192 193 } 193 194 -
raptor-mua/trunk/src/main/webapp/WEB-INF/statistical-units.xml
r520 r526 379 379 </list> 380 380 </property> 381 382 <property name="series"> 383 <list> 384 <bean class="uk.ac.cardiff.model.Series"> 385 <property name="seriesLabel" value="test"/> 381 382 <property name="presentation"> 383 <bean class="uk.ac.cardiff.model.Presentation"> 384 <property name="graphTitle" value="Number Of Authentications Per"/> 385 <property name="xAxisLabel" value="Time"/> 386 <property name="yAxisLabel" value="Frequency"/> 387 </bean> 388 </property> 389 390 <property name="series"> 391 <list> 392 <bean class="uk.ac.cardiff.model.Series"> 393 <property name="seriesLabel" value="Number of auths"/> 386 394 </bean> 387 395 </list> … … 405 413 </list> 406 414 </property> 407 408 <property name="series"> 409 <list> 410 <bean class="uk.ac.cardiff.model.Series"> 411 <property name="seriesLabel" value="test"/> 415 416 <property name="presentation"> 417 <bean class="uk.ac.cardiff.model.Presentation"> 418 <property name="graphTitle" value="Number of unique users for"/> 419 <property name="xAxisLabel" value="Time"/> 420 <property name="yAxisLabel" value="Frequency"/> 421 </bean> 422 </property> 423 424 <property name="series"> 425 <list> 426 <bean class="uk.ac.cardiff.model.Series"> 427 <property name="seriesLabel" value="Number of auths"/> 412 428 </bean> 413 429 </list> … … 430 446 </list> 431 447 </property> 432 433 <property name="series"> 434 <list> 435 <bean class="uk.ac.cardiff.model.Series"> 436 <property name="seriesLabel" value="test"/> 448 449 <property name="presentation"> 450 <bean class="uk.ac.cardiff.model.Presentation"> 451 <property name="graphTitle" value=""/> 452 <property name="xAxisLabel" value="Time"/> 453 <property name="yAxisLabel" value="Frequency"/> 454 </bean> 455 </property> 456 457 <property name="series"> 458 <list> 459 <bean class="uk.ac.cardiff.model.Series"> 460 <property name="seriesLabel" value="Number of auths"/> 437 461 </bean> 438 462 </list> … … 455 479 </list> 456 480 </property> 457 <property name="series"> 458 <list> 459 <bean class="uk.ac.cardiff.model.Series"> 460 <property name="seriesLabel" value="test"/> 481 482 <property name="presentation"> 483 <bean class="uk.ac.cardiff.model.Presentation"> 484 <property name="graphTitle" value="Top 5 Resources"/> 485 <property name="xAxisLabel" value="Time"/> 486 <property name="yAxisLabel" value="Frequency"/> 487 </bean> 488 </property> 489 <property name="series"> 490 <list> 491 <bean class="uk.ac.cardiff.model.Series"> 492 <property name="seriesLabel" value="Number of auths"/> 461 493 </bean> 462 494 </list> … … 487 519 </list> 488 520 </property> 489 490 <property name="series"> 491 <list> 492 <bean class="uk.ac.cardiff.model.Series"> 493 <property name="seriesLabel" value="test"/> 521 522 <property name="presentation"> 523 <bean class="uk.ac.cardiff.model.Presentation"> 524 <property name="graphTitle" value="Bottom 5 Resources"/> 525 <property name="xAxisLabel" value="Time"/> 526 <property name="yAxisLabel" value="Frequency"/> 527 </bean> 528 </property> 529 530 <property name="series"> 531 <list> 532 <bean class="uk.ac.cardiff.model.Series"> 533 <property name="seriesLabel" value="Number of auths"/> 494 534 </bean> 495 535 </list>
Note: See TracChangeset
for help on using the changeset viewer.
