OO Design question.
I am supposed to design a report generator, to draw graphs, trend lines etc. So basically i was thinking my design to be in the following way -
class DataGenerator - the class which fetches the required X axis values and Y axis values from the database.
I was thinking may be i can stored procedures and call the appropriate stored procedure from within the class and fetch the data accordingy
class ChartGeneratore - the class which draws the corresponding chart.
Please let me know any suggestions ( good or bad) in the above approach.
Sandeep

