1 AIT Asian Institute of Technology

Web charts generating gem

AuthorShrestha, Suhas
Call NumberAIT Caps. Proj. no.CS-16-01
Subject(s)Charts, diagrams, etc.--Computer programs
Interactive computer graphics
Web applications

NoteA capstone project report submitted in partial fulfillment of the requirement for the degree of Bachelor of Science Computer Science, School of Engineering and Technology
PublisherAsian Institute of Technology
Series StatementCaps. Proj. ; no. CS-16-01
AbstractGraphing is a means through which people can easily analyse data by looking at patterns in its representation. Manually going through all the records in the database can be problematic, and it is better to represent these in a graph format to better visualize the data. Most software available now has its own drawbacks, and those with complete features are only available commercially. Since most projects in the VGL lab are on the Ruby on Rails framework, it would be best to create an open source Ruby gem for anyone to use. This project aims to implement a Ruby gem that wraps a model and generates a controller and view template using generators in the gem. Routes are mapped according to the model’s name. The view generated provides developers with the ability configure the x and y axes, graph type, datetime range, time divisions and generate the graph. The developer input is used by the controller to produce a graph object to be viewed in the view. There is also a template generated for the user, which can be copied into a production view that uses the graph dynamically. Using two Rails applications similar to the requirements of the VGL lab, this gem was tested. The results satisfied the requirements that were obtained from inquiries with lab members. There is still room for improvement in this gem. More chart types and ajax calls could be added for more chart features and faster interface respectively.
Year2016
Corresponding Series Added EntryAsian Institute of Technology. Caps. Proj. ; no. CS-16-01
TypeCapstone Project
SchoolSchool of Engineering and Technology (SET)
DepartmentDepartment of Information and Communications Technologies (DICT)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Dailey, Matthew N.;
Examination Committee(s)Mongkol Ekpanyapong;
DegreeCapstone Project (B. Sc.) - Asian Institute of Technology, 2016


Usage Metrics
View Detail0
Read PDF0
Download PDF0