Query 1:
Is there any way I can make the constituent units of induvidual bar visible within a signle category? I am creating sample data as following:
Code: Select all
private CategoryTableXYDataset createXYForStackedBar(){
CategoryTableXYDataset xyDataSet = new CategoryTableXYDataset();
xyDataSet.setIntervalPositionFactor(0.5);
xyDataSet.setIntervalWidth(7);
xyDataSet.add((new Day(7, MonthConstants.FEBRUARY, 2007)).getDayOfMonth(), 50, "Normal", false);//month, percentage, seriesName
xyDataSet.add((new Day(7, MonthConstants.FEBRUARY, 2007)).getDayOfMonth(), 80, "Normal", false);//month, percentage, seriesName
.....
Query 2:
Is it possible to create a CategoryTableXYDataset and still have TimeSeries on x-axis?
Query 3:
Is it possible to have sub-categories in case of Stacked Bar chart.
Note :I am creating the chart using factory method.
code] JFreeChart chart = ChartFactory.createHistogram(..... [/code]
Thanks,
ckp