Changeset 526


Ignore:
Timestamp:
02/13/11 23:21:30 (2 years ago)
Author:
philsmart
Message:
 
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  
    178178         */ 
    179179        private void update(Statistic statistic, StatisticalUnitInformation statisticalUnitInformation) { 
     180                 
    180181                if (statisticalUnitInformation.getStatisticParameters().getEndTimeAsDate() != null) 
    181182                        statistic.getStatisticParameters().setEndTime( 
     
    187188                        statistic.getStatisticParameters().setMethodParams( 
    188189                                        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()); 
    192193        } 
    193194 
  • raptor-mua/trunk/src/main/webapp/WEB-INF/statistical-units.xml

    r520 r526  
    379379                                                </list> 
    380380                                        </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"/> 
    386394                            </bean> 
    387395                        </list> 
     
    405413                                                </list> 
    406414                                        </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"/> 
    412428                            </bean> 
    413429                        </list> 
     
    430446                                                </list> 
    431447                                        </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"/> 
    437461                            </bean> 
    438462                        </list> 
     
    455479                                                </list> 
    456480                                        </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"/> 
    461493                            </bean> 
    462494                        </list> 
     
    487519                                                </list> 
    488520                                        </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"/> 
    494534                            </bean> 
    495535                        </list> 
Note: See TracChangeset for help on using the changeset viewer.