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)
Gantt Chart using Chart engine api
DevGulve
Hi,
I am trying to create a Gantt chart using chart engine api , even after banging my head over it I am not been successful in that .....
I am pretty new in chart designing using birt , can some body help me here.
Find more posts tagged with
Comments
averma
There are basically four steps to generating charts:<br />
A] Create the chart model<br />
B] Bind the dataset(s)<br />
C] Build the chart<br />
D] Render the chart<br />
Which step are you having issue with? <br />
The following document answers frequently asked questions on how to use the Charting Engine API<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/faq/Charts_FAQ.doc'>http://www.eclipse.org/birt/faq/Charts_FAQ.doc</a><br
/>
<br />
Ashwini
DevGulve
Thanks for your inputs Ashwini ...
I have used the chart_faq to generate Bar and Line charts ..... but I am having issue with defining and biding the dataset for the gantt chart.
I have created a ganttDataSet with an array of GanttEnty values , but i am kind of confused with which data set should be bound to x axis and which one to y axis ....
I have tried using ganttDataSet with the y axis , and NumberDataSet for X axis but it gives me kind of weird chart .....
Could you advise me some thing here .....
Virgil Dodson
Hi DevGulve,
Have you taken a look at the Chart Examples view within the BIRT Designer? It is available from the Eclipse menu at Window | Show View | Other... | Report and Chart Design. There are several different chart examples there. After you select one, you can open it and see all the code needed to generate that chart.
averma
Hi DevGulve:<br />
I have created a simple example and posted it on DevX<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/modules/vbulletin/../wfdownloads/singlefile.php?cid=2&lid=247'>http://www.birt-exchange.com/modules/wfdownloads/singlefile.php?cid=2&lid=247</a><br
/>
<br />
Ashwini
DevGulve
Thanks Ashwini , I am able to generate gantt chart now ...
Once again thanks for your help
cheers