Search found 1634 matches
- Mon Nov 27, 2017 8:54 pm
- Forum: JFreeChart
- Topic: Borders of Category Markers
- Replies: 8
- Views: 7356
Re: Borders of Category Markers
Upload an image of your chart to one of the free image hosters, then post a link to the image here.
- Fri Nov 24, 2017 6:44 pm
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
Ok, so start with some basic debugging.
What are the values for sizeX and sizeY?
What are the values for sizeX and sizeY?
- Fri Nov 24, 2017 5:24 pm
- Forum: JFreeChart
- Topic: 1.5.0 Migration Issue
- Replies: 7
- Views: 9098
Re: 1.5.0 Migration Issue
Thouhg this is now becoming more and more off-topic, I just wanted to provide an example for IMHO, a RectangleEdge class should be able to calculate an "aligned rectangle" from a Size2D object, an existing Rectangle2D instance, and an instance of each HorizontalAlignment and VerticalAlignment. Here ...
- Fri Nov 24, 2017 4:43 pm
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
An itext forum is likely to be a better place to ask. if you post this question elsewhere, please mention the other post in this thread.gw1500se wrote: Why does 'image.setAbsolutePosition(sizeX, sizeY-200.f);' do nothing?
- Fri Nov 24, 2017 11:53 am
- Forum: JFreeChart
- Topic: JFreeChart Pan
- Replies: 3
- Views: 4196
Re: JFreeChart Pan
I think that you may have accidentally mixed two different version. The classes PanHandler and AbstractMouseHandler are part of the FSE (future state edition) of JFreeChart, and they are missing in the most recent "regular" JFreeChart version (1.5.0). Instead of downloading patches and scripts from ...
- Thu Nov 23, 2017 4:23 pm
- Forum: JFreeChart
- Topic: Sizing and Locating a JFreeChart with ItextPDF
- Replies: 3
- Views: 4804
Re: Sizing and Locating a JFreeChart with ItextPDF
As a first debugging step, you can check the value for "scale". If that happens to be 1.0, then the chart will cover the entire page. In that case, I could imagine that the definition of a new location is simply ignored.
- Thu Nov 23, 2017 3:44 pm
- Forum: JFreeChart
- Topic: Sizing and Locating a JFreeChart with ItextPDF
- Replies: 3
- Views: 4804
Re: Sizing and Locating a JFreeChart with ItextPDF
Unfortunately no matter what I use for scale or Y location, the chart starts at (0,0) and covers the entire page. I can't reproduce that. I have changed my code from the other thread and converted the PDf Template to an image. Both setting the absolute position and scaling changed the layout of the...
- Thu Nov 23, 2017 9:57 am
- Forum: JFreeChart
- Topic: Issue with refresh of JFreechart
- Replies: 1
- Views: 4218
Re: Issue with refresh of JFreechart
Do you call your method from an ActionListener? If yes, then your while loop is executing in the event dispatching thread, and the GUI will only be updated after the loop is completed. You need to run the code that is updating the dataset outside the event dispatching thread, and trigger an event wh...
- Wed Nov 22, 2017 8:27 pm
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
The method draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D) in the type JFreeChart is not applicable for the arguments (Graphics2D, com.itextpdf.awt.geom.Rectangle2D) - The method draw(Graphics2D, Rectangle2D) in the type JFreeChart is not applicable for the arguments (PdfGraphics2D, Rectangle2...
- Wed Nov 22, 2017 6:27 pm
- Forum: JFreeChart
- Topic: VectorRenderer - Add Color based upon Dataset
- Replies: 4
- Views: 5284
Re: VectorRenderer - Add Color based upon Dataset
Hi Fred, Personally, I do not believe that a future JFreeChart versions will support your requirements. If you have some data in what form ever, it is your responsibility to make them available in a form that fulfills the constraints defined by the various dataset implementations of JFreeChart. You ...
- Wed Nov 22, 2017 5:14 pm
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
After resolving all the deprecated method warnings, this is where I got stuck using your suggestion: Rectangle page=writer.getPageSize(); // - Graphics2D cannot be resolved to a type // - The method draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D) in the type JFreeChart is not applicable for th...
- Wed Nov 22, 2017 10:24 am
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
What kind of documentation do you need?
My code sample demonstrates you to create a PDF containing a JFreeChart as vector graphic.
Google should give you sources for both the API documentation and tutorials of itext.
My code sample demonstrates you to create a PDF containing a JFreeChart as vector graphic.
Google should give you sources for both the API documentation and tutorials of itext.
- Tue Nov 21, 2017 9:10 pm
- Forum: JFreeChart
- Topic: Adding JFreeChart to Itextpdf in Landscape
- Replies: 12
- Views: 14673
Re: Adding JFreeChart to Itextpdf in Landscape
I have no idea what the singletons Chart and Image might be, but it seems that you create a bitmap from a JFreeChart and then integrate that bitmap into a PDF document. Is that a must-have? I am normally creating PDFs that contain the chart as vector graphic, that can be zoomed without loss of quali...
- Tue Nov 21, 2017 3:48 pm
- Forum: JFreeChart
- Topic: 1.5.0 Migration Issue
- Replies: 7
- Views: 9098
Re: 1.5.0 Migration Issue
What's the rationale for removal of marker support? Code simplification. Everything that can be done with markers can also be done with Annotations (see patch 316). Type safety with Markers is also somewhat ill defined. CategoryMarkers can be added to an XYPlot, and can be added as range marker to ...
- Mon Nov 20, 2017 7:07 pm
- Forum: JFreeChart
- Topic: 1.5.0 Migration Issue
- Replies: 7
- Views: 9098
Re: 1.5.0 Migration Issue
[*] stick with JFreeChart 1.0.x - I will make a new release on that branch with the latest bug fixes, but I won't be actively maintaining it going forward (someone else is more than welcome to do it); Does that mean than 1.0.20 is the last "official" version of JFreeChart 1.0.? Are their any requir...