MonthlyGraphMaker
MonthlyGraphMaker
- Superclass
- SingleGraphMaker
- Subclasses
- none
- Referenced By
- ReportGraphSpecs
This class is used specifically when displaying graphs which are sorted based on the
months. The months to display are the duration of months of data that the user is looking
at. It is possible that the database does not return the result of all the months,
because the data for some months may not exist. These months must be filled up with 0.
The months are the labels. The legend is the columns of the report values, i.e. actual
and budget. This class does not fix the legend to just two, but the number of columns is
determined by the size of the legend, whose size should match the column size of the
object in report values that holds the queries.
This class assumes that the arguments of the method to be called will look like the
following:
1. The query value (ListQueryValue)
2. The months to display the data.
3. Other arguments follow...
Therefore, the argument list of the instance variable queryArgs should store only the
extra arguments, not the arguments for the query value and the months. The months are
obtained by lookin at the state, and the query value is obtained by looking at the queries
holder.
Developed By Jee Ku (jku@cat.ncsa.uiuc.edu) and Joseph W. Yoder (yoder@cs.uiuc.edu)