Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
creating a histogram from a bargraph
markcheung
I am able to create a bar graph using BIRT charting Engine. How do I convert it into a histogram (how do I make the width of the bars longer)?
Find more posts tagged with
Comments
mwilliams
Hi MC,
One thing you might be able to do is use an area type chart instead of a bar chart to create something like a histogram.
markcheung
Looking at the area chart from the IBM example, I don't think it fits what I have in mind.<br />
<br />
What I wanted is something like this: <a class='bbc_url' href='
http://www.eclipsezone.com/servlet/JiveServlet/download/18209-70381-92013010-4546/historgram.png'>http://www.eclipsezone.com/servlet/JiveServlet/download/18209-70381-92013010-4546/historgram.png</a>
; and I am creating with BIRT Charting Engine.<br />
<br />
My histograms should be able to gather data from a DateTimeDataSet and estimate a good starting time and bin width (adjustable). It would counts the number datums in a time frame and graphs the number with a rectangle bar. I would like there to be no spaces between the bar (unless there is no data in that time frame).
markcheung
Solve the no space problem.
Simply:
chart.setUnitSpacing(0);
Is there a function in BIRT to calculate histogram spacing+initial value for datetimedataset x-axis?