I am looking for a library that can handle the display of graphs. I just need simple graphs with labeling and maybe a a "tooltip" if I hover over a certain point on the graph. I don't need diagrams or charts. Is Birt the right tool for me? And is there a difference between Birt and Birt designer?
You can use BIRT to do this and it is ideally suited for it. You can use the whole designer or just the chart engine. You will find the designer is much easier to use. To do this you need to download the allinone designer or use the update site. 4.2 is shown below:
Okay, that sounds good.
So I need it to display a couple of values that are calculated in the application. Its just a feature of my application, not the main aspect.
So .. when I heard designer, I think of some more or less static UI, which doesn't need to change during the runtime. Is this the case?
and...I also need what? I dont get your last sentence
Edit: what are those reports actually? It apears to me, that with Birt I create a stand-alone-graph application rather than that it's a bib that I can include in my application.
Is there sth like:
Graph graph = new Graph (parent, BIRT.LINEGRAPH);
You can just use the chart engine api similar to what you posted in the example. The only reason I mentioned the designer is it is very simple to use and allows you to update your report anytime you want without having to change code. For example if you use the BIRT Chart api in your webapp you would code a pie chart and attach data to it. If you decide to change to a bar chart later, this will require a recompile. If you used a report, which is just an xml document that describes the data source and chart in your case, then this would just require swapping the xml report design file.