Gantt Chart using Chart engine api

Options
DevGulve
edited February 11, 2022 in Analytics #1
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.

Comments

  • averma
    edited December 31, 1969 #2
    Options
    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
    Warning No formatter is installed for the format ipb
  • DevGulve
    edited December 31, 1969 #3
    Options
    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
    Virgil Dodson E admin
    edited December 31, 1969 #4
    Options
    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.
    Warning No formatter is installed for the format ipb
  • averma
    edited December 31, 1969 #5
    Options
    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
    Warning No formatter is installed for the format ipb
  • DevGulve
    edited December 31, 1969 #6
    Options
    Thanks Ashwini , I am able to generate gantt chart now ...

    Once again thanks for your help

    cheers