Know that I understand a little more JFreeChart I observe that all charts
extend of one these classes:
1-CategoryDataset.
2-PieDataset.
3-XYDataset.
So, in all Chart Taglibs source we have to implement:
1-PieBasedChart (implemented).
2-CategoryBasedChart (implemented).
3-XYBasedChart.
with this we have a lot of chart automatically:
PieBasedChart_
|__PieTag (2D&3D).
|__RingTag.
CategoryBasedChart_
|__BarTag (2D&3D).
|__StackedBarTag (2D&3D).
|__LineTag (2D&3D).
|__AreaTag.
|__StackedAreaTag.
|__WaterfallTag.
|__GanttTag (not implemented yet.).
XYBasedChart (not implemented yet.).
To see how to implement XYBasedChart look to the source code.
And we are using JFreeChart-1.0.1.
I hope this will be useful
Mohamed.
|