Since one Dataset can contain many series, there should
be a 'series' attribute to allow the JSP to pick out
just one of them. <logic:iterate> could then be used
to display all the series on one page, but each series
in its own graph.
This can be done without modification to cewolf. Just pass a
parameter to your datasetproducer that tells it which series
to build. I suppose the chart tag would do it and only have
the producer called once. Hrm...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This doesn't appear possible without either an api
modification to jfreechart or huge architectural changes to
cewolf. The chart object is actually created by the chart
tag. The produceDataset method is called and then passed to
the jfreechart factory where the object is created. Later on
when the image is rendered from the render tag, thats when
we call jfc to get the actual image bytes. Those are stored
until the servlet gets the request from the browser for the
image.
In order to iterate, we would have to change the image to
not be created until the image tag and strip out the series
that aren't needed. Alternatively, if JFC had the option to
specify the dataset to draw, we could set that param fairly
easily.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=805618
This can be done without modification to cewolf. Just pass a
parameter to your datasetproducer that tells it which series
to build. I suppose the chart tag would do it and only have
the producer called once. Hrm...
Logged In: YES
user_id=805618
This doesn't appear possible without either an api
modification to jfreechart or huge architectural changes to
cewolf. The chart object is actually created by the chart
tag. The produceDataset method is called and then passed to
the jfreechart factory where the object is created. Later on
when the image is rendered from the render tag, thats when
we call jfc to get the actual image bytes. Those are stored
until the servlet gets the request from the browser for the
image.
In order to iterate, we would have to change the image to
not be created until the image tag and strip out the series
that aren't needed. Alternatively, if JFC had the option to
specify the dataset to draw, we could set that param fairly
easily.