The major Java APIs for creating Excel files are Jakarta POI and jExcelApi. I'm not sure whether either of them can create graphs embedded in XLS files, but it's worth checking out their documentation.
If you go to "Chart Types" in Excel and select "Standard Types"... There is a XY(Scatter) type of graph.... you get a Fan Graph when you select the Sub Type of as "Scatter. Comares pairs of Values"...
Writing Data in to Excel File is easy... I have done that... But how to generate graph Using the same data?.... If you have any Idea or suggestions... Please let me know...