How do I use Perl to create graphs?
I\'m running scheduled job that creates text reports. I\'d like to move this to the next step (for the management) and also crea
It won't work with Office, but I really like Chart::OFC which will create Open Flash Charts. Very slick looking and easy to use.
All of the methods mentioned above are really good, but personally I like SVG::TT::Graph. I really like the power that SVG gives you to draw really nice-looking graphs.
Metaprograming of course! Output an R script that creates the graph.
Spreadsheet::WriteExcel will let you just get the data into Excel, then write Excel equations for the graphs.
Depending on the complexity of your graph, simply generating a command file for Gnuplot—or GraphViz/Dotty, depending on what kind of graph you are referring to—might do the trick?
If you're set on doing this in MS Office you can use the Win32::OLE module to control Excel via OLE. Be warned, that this tends to run slowly and it can be difficult to find documentation for Excel's API. On the plus side, it allows you to do pretty much everything that you can do manually.