Search found 5 matches
- Wed Jul 07, 2010 3:27 pm
- Forum: JCommon
- Topic: JCommon text anchors not working correctly
- Replies: 2
- Views: 210763
Re: JCommon text anchors not working correctly
Well I never did find out what was wrong but I went ahead and implemented it myself. http://stackoverflow.com/questions/2278474/java-best-library-to-help-draw-text-at-arbitrary-anchor-points import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java...
- Wed Feb 03, 2010 3:38 pm
- Forum: JCommon
- Topic: JCommon text anchors not working correctly
- Replies: 2
- Views: 210763
JCommon text anchors not working correctly
Hi guys, I'm running into problems using TextLines and TextAAnchors; the rendering of them does not seem to respect the text anchors. Here's a SCSE to illustrate what I'm talking about import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java...
- Wed Jul 29, 2009 6:41 pm
- Forum: JFreeChart
- Topic: New JChart user question image messed up.
- Replies: 2
- Views: 3702
Re: New JChart user question image messed up.
Try to make a Short, Self Contained, Correct (Compilable), Example (http://sscce.org/) and we will be able to help a little bit more easily.
- Tue Jul 28, 2009 10:03 pm
- Forum: JFreeChart
- Topic: Insert a JFreeChart into a JTable cell
- Replies: 2
- Views: 5385
Re: Insert a JFreeChart into a JTable cell
import java.awt.Component; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableCellRenderer; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableCellRenderer; import javax.swing.t...
- Tue Jul 07, 2009 6:08 pm
- Forum: JFreeChart
- Topic: Deviation renderer - drawing min/max as lines
- Replies: 1
- Views: 2943
Deviation renderer - drawing min/max as lines
Hello all, I am attempting to draw dashed lines along the top and bottom of a deviation renderer output. Right now the best idea I have to do that is to get the YIntervalSeries that backs the deviation renderer and make new XYSeries, one for the min, and one for the max, and then draw these series w...