Not natively but you can do similar things with script. Look at the
attached two examples. Specifically the adjustaxis example. If you
look at the x-value expression data is put in that is trimmed in script
and a new line is added.
On 7/25/2012 1:28 PM, DONG YAO wrote:
> like this
> | Q1 | Q2 |
But both solution does not work for me.
ChartsByQuarter is not really nested x label. Series Grouping is used here. I know it provides the same info of the nested x label. I also suggested that to our customer. But our customer does want the nested label.
the second example looks like nested x label. But it is using space to control the second line of the label. It is very hard to predict how many space should be there when the number of the items displayed on x axis is dynamic. For the same chart, it could be 2 months or it could be 36 months, the date ranged is determined by user at runtime.
Currently BIRT does not have nested labeling. In the example I posted
on space control you can know using the afterDataSet event how many data
points you will have. This will make the script a bit complex so I know
it is not ideal. The only other option I can think of is to implement a
chart type extension that provides this functionality. Can you log a
bugzilla request for this enhancement?
On 7/31/2012 5:38 PM, DONG YAO wrote:
> Also, the first line in x label, we need display the text vertically
> (degree 90). I tried that on the second example, no label was shown on x