tags:

views:

6

answers:

1

Hi All,

I have some urgent client requirement to display database table data in Chart form.

EX. http://www.swiftchart.com/examplebar.htm#top

I am using struts1.3.10.

Please help me how can i do that.

Thanks

Amit Jain

A: 

Ok, with the little information, I can suggest one thing:

Embed Google Graph/Chart API in your page, i.e. you will have to use your struts bean to populate the attributes needed for the Google chart API to display your image.

E.g.

<img src="http://chart.apis.google.com/chart?cht=p3&amp;chd=t:60,40&amp;chs=250x100&amp;chl=Hello|World" />

Getting Started.

The Elite Gentleman