Skip to main content



      Home
Home » Archived » BIRT » How to create a bar chart with tick labels below ticks and bars between two adjacent ticks
How to create a bar chart with tick labels below ticks and bars between two adjacent ticks [message #1038936] Thu, 11 April 2013 10:23 Go to next message
Eclipse UserFriend
Hi all,
I want to draw a bar chart in my eclipse plugin whose tick labels (the number strings) are placed below the ticks and bars between two adjacent ticks, I have tried the following two approachs and encountered some troubles:

(1)xAxis.setType(AxisType.TEXT_LITERAL);
xAxis is the object which stands for the x axis. But how can I put the tick label (the number) exactly below the tick other than between two adjacent ticks. Moreover, there would be one more tick label for the first or the last tick, how to achieve that?

(2)xAxis.setCategoryAxis(false);
xAxis.setType(AxisType.LINEAR_LITERAL);
In this case, the tick label is below the tick, however, the bar is drawed above a tick, how can I move it to the midpoint of the two adjacent ticks?

The attached image shows what I want.

Thanks in advance!
index.php/fa/14335/0/
  • Attachment: barchart.bmp
    (Size: 149.91KB, Downloaded 796 times)
Re: How to create a bar chart with tick labels below ticks and bars between two adjacent ticks [message #1039040 is a reply to message #1038936] Thu, 11 April 2013 13:13 Go to previous message
Eclipse UserFriend
I responded to you, over on BIRT Exchane, about this. Sorry for missing your post, yesterday.

BIRT Exchange Forums - Draw a bar chart as shown in the attached image
Previous Topic:Birt nested Table with ECore ODA Problem
Next Topic:Error in XML Source Page must be correct before other pages can be used
Goto Forum:
  


Current Time: Mon Apr 28 12:32:54 EDT 2025

Powered by FUDForum. Page generated in 0.03197 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top