Skip to main content



      Home
Home » Archived » BIRT » Using the graphing engine "off-line"
Using the graphing engine "off-line" [message #218548] Mon, 12 February 2007 13:10 Go to next message
Eclipse UserFriend
Originally posted by: Elliot.Katz.moodys.com

Is there any way to use the BIRT graphing library to create a chart
"off-line" - i.e. not in the context of a report, and save it as an svg
file?
Something like:

class chartGenerator
{
public static void createGraphFile(String fileName, ...)
{

Graph graph = createNewGraph();
this.addDataSeriesToMyGraph(graph);
this.setOptionsForMyGraph(graph);
this.serializeGraphToSVGFile(graph, fileName);
}
}
Re: Using the graphing engine "off-line" [message #218648 is a reply to message #218548] Tue, 13 February 2007 05:24 Go to previous messageGo to next message
Eclipse UserFriend
Yes. you can look at the examples, there is a chart.examples plugin.

Thanks,

David

> Is there any way to use the BIRT graphing library to create a chart
> "off-line" - i.e. not in the context of a report, and save it as an
> svg
> file?
> Something like:
> class chartGenerator
> {
> public static void createGraphFile(String fileName, ...)
> {
> Graph graph = createNewGraph();
> this.addDataSeriesToMyGraph(graph);
> this.setOptionsForMyGraph(graph);
> this.serializeGraphToSVGFile(graph, fileName);
> }
> }
Re: Using the graphing engine "off-line" [message #218697 is a reply to message #218648] Tue, 13 February 2007 11:29 Go to previous message
Eclipse UserFriend
Originally posted by: Elliot.Katz.moodys.com

Works like a charm!
Thanks a bunch.
Previous Topic:Problem with MSSQL Server - No Tables viewed!
Next Topic:Total.sum, or using JS Global funcitons - WRONG TOTAL AMOUNT
Goto Forum:
  


Current Time: Sat Jul 12 21:23:36 EDT 2025

Powered by FUDForum. Page generated in 0.10655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top