You can Create a servlet and Generate the chart Xml as response.
Then you have to call the servlet through ajax at the time of your page loading.
So your chart will be load under a div of the page.
You can try this way also.