![]() |
![]() |
![]() |
![]() |
![]() |
|
Define ChartGraphPane, a subclass of
GraphPane. Instances are to have two variables: values
and title. Also define drawChart, modeled on
drawMeter, such that drawChart draws a chart using the values
assigned to the values and the title variables. For example,
given that the value of the values variable is the array
#(1 1 2 3 5 8) and the value of the title variable is
Rabbit Population, drawChart is to produce the following:
