Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic Chart Generation
birt_all
<p>Hi,</p><p> </p><p>We need to design a Line Series Chart with the Details Table. </p><p> </p><p>We have requirement, such that user should have option in the viewer for changing the chart types (Bar,Bubble,pie etc.,) so that chart should be generated dynamically.</p><p> </p><p>Thank You</p>
Find more posts tagged with
Comments
micajblock
<p>I understand that you have this requirement. However from a visualization perspective this is very bad practice. Each chart has a purpose (line=trend, bar=comparative...), Enabling users to change the chart type will give them bad charts.</p>
birt_all
<p>Hi,</p><p> </p><p>Thanks for your reply. We tried to generate by the Chart scripts in the before factory event. Unfortunately we couldn't achieve some chart types like Bubble ,pie etc.,</p><p> </p><p> </p><p>Thank you </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
micajblock
<p>Can you provide more detail on your requirements?</p>
birt_all
<p>Following is our requirement:</p><p> </p><p>a)<span class='bbc_underline'>Design: </span>The Report need to be developed with a details (Eg: Statistics ) table and a chart of any type for the same.</p><p> </p><p>b ) <span class='bbc_underline'>Execution:</span> The Report need to be executed for the above design with the option of selecting the chart types at run time. Based on the selection the chart type need to be changed.</p><p> </p><p>c)<span class='bbc_underline'>Export:</span> The Report need to be exported in the available formats with the chart type that the user selected.</p>
micajblock
<p>As I said [color=rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;]I understand that you have this requirement. However from a visualization perspective this is very bad practice. Each chart has a purpose (line=trend, bar=comparative...), Enabling users to change the chart type will give them bad charts. The easiest way to do this is having all charts and playing with the visibility (or display) to hid show charts. I do not know enough about the DEAPI, to provide a better (fuller) answer.[/color]</p>
kclark
<p>I agree with Mica, but if you have to allow the ability to select what type of chart then a quick way to do this without needing to use the DEAPI is to create each type of chart in a grid, allow the user to select from a parameter, then before anything gets rendered you could drop all but the selected grid from your report design. You can also do this from the DEAPI, but this might be the quickest way to get up and testing with that requirement.</p>