Institutionen För Datavetenskap Department of Computer and Information Science
Total Page:16
File Type:pdf, Size:1020Kb
Institutionen för datavetenskap Department of Computer and Information Science Final thesis Data Analysis and Graph Presentation of Team Training Data By Azhar Ranjha Ghalib Ahmad Adnan LIU-IDA/LITH-EX-A--10/045—SE 2011-03-02 Linköpings universitet Linköpings universitet SE-581 83 Linköping, Sweden 581 83 Linköping Linköping University Department of Computer and Information Science Final Thesis Data Analysis and Graph Presentation of Team Training Data by Azhar Ranjha Ghalib Ahmad Adnan LIU-IDA/LITH-EX-A--10/045—SE 2011-03-02 Supervisor: Rego Granlund Examiner: Arne Jönsson Datum Avdelning, institution Date Division, department Institutionen för datavetenskap Department of Computer 2011/03/14 and Information Science Linköpings universitet Språk Rapporttyp ISBN Language Report category Svenska/Swedish Licentiatavhandling ISRN LIU-IDA/ LITH-EX-A--10/045—SE X Engelska/English X Examensarbete C-uppsats Serietitel och serienummer ISSN D-uppsats Title of series, numbering Övrig rapport URL för elektronisk version http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-66997 Titel Title Data Analysis and Graph Presentation of Team Training Data Författare Author Azhar Ranjha Ghalib Ahmad Adnan Sammanfattning Abstract This Report illustrates the team training system presentation as a web based graphs. The research is done based on the presentation of web information stored in database into the graphical form. Ice-Faces with SQL database at back end data source is the way to demonstrate the implementation of graph system. By having research and comparisons it is found suitably best the Graph generating system for analysis of C3fire records. Several models for graphs are been selected for the illustration of best visualization of the demography and at last one with best demonstration of result is selected. The information which was displayed in tables stored in database is now viewable in the graphical format. The implementation was done by modifying and embedding codes in the previous version and successfully implementation is done. The graphs are displayed by the values stored in database and dynamically updated as the values in the database are changed. There are four graphs finally selected and implemented that shows the data, which are pie, bar, line and cluster bar graphs representing data in best viewable form. Nyckelord Keywords C3fire, IceFaces, team training, simulation, Crystal Report (CR), graphical presentation. Table of Contents Chapter 1 .................................................................................................................................................................... 1 1. Introduction .................................................................................................................................................... 1 1.1. Aim.............................................................................................................................................................. 1 1.2. C3fire ......................................................................................................................................................... 1 1.3. C3fire Environment .......................................................................................................................... 2 1.4. Use of framework .............................................................................................................................. 4 1.5. Thesis outline ...................................................................................................................................... 5 Chapter 2 .................................................................................................................................................................... 6 2. C3Fire Log Files ........................................................................................................................................... 6 2.1. C3Fire Log file Management ...................................................................................................... 6 2.1.1. Storage of Log files ................................................................................................................ 6 2.1.2. Log file structure ...................................................................................................................... 6 2.1.3. Calculating Data from Log files ...................................................................................... 7 2.1.4. Sequence Grabber .................................................................................................................. 7 2.2. Description of Database structure ......................................................................................... 8 2.2.1. C3Fire Database Log file Management ...................................................................... 8 2.3. Describe the data structure DB tables ................................................................................. 9 Chapter 3 ..................................................................................................................................................................10 3. Graph Generating System ...................................................................................................................10 3.1. Investigation for Framework and Tool ...............................................................................10 3.2. Introduction ICEfaces ...................................................................................................................10 3.3. Architecture of ICE-faces ...........................................................................................................11 3.3.1. Ice Faces Framework ..........................................................................................................12 3.3.2. The component suite of Ice-Faces .............................................................................12 3.3.3. The Ajax Bridge ......................................................................................................................13 3.4. Crystal Report ...................................................................................................................................13 3.4.1. System Architects .................................................................................................................13 3.5. Object Model for Crystal Report ............................................................................................14 3.5.1. Embedded or non-embedded reports Difference in Usability ..................14 3.5.2. Insert new item as DataSet ..............................................................................................14 3.6. Crystal report chart types and examples .........................................................................15 3.7. CHARTS FOR CRYSTAL REPORTS ....................................................................................17 3.7.1. Description of Crystal Report chart types .............................................................17 3.7.2. Creating Chart in Crystal Report .................................................................................27 3.8. ICEfaces chart types and examples ....................................................................................28 Chapter 4 ..................................................................................................................................................................34 4. Implementation for Graph system in C3fire .............................................................................34 4.1. System Description ........................................................................................................................34 4.2. C3fire database management system ................................................................................36 4.3. Database Table for Graphs .......................................................................................................36 4.4. Java classes for graphic and crystal report representation. ..............................37 4.5. Event handling and generation ..............................................................................................37 4.6. Glass Fish ............................................................................................................................................38 4.6.1. Java with GlassFish .............................................................................................................38 4.6.2. JSPX ...............................................................................................................................................39 Chapter 5 ..................................................................................................................................................................41 5. Graph User Interface ...............................................................................................................................41 5.1. Layout of log file ..............................................................................................................................41 5.2. View of Graphs..................................................................................................................................42 5.3. Use of chart. .......................................................................................................................................44 Chapter 6 ..................................................................................................................................................................45