Search found 7 matches
- Thu Mar 29, 2007 3:48 pm
- Forum: JFreeChart
- Topic: draw LegendTitle in JPanel
- Replies: 3
- Views: 4731
I think I got it.. it works, not sure if its right.. class LegendPanel extends JPanel { private LegendTitle t = null; public LegendPanel(LegendTitle inLegendTitle) { t = inLegendTitle; } public void paintComponent(Graphics gr) { super.paintComponent(gr); Graphics2D g2 = (Graphics2D) gr; Rectangle2D ...
- Thu Mar 29, 2007 3:24 pm
- Forum: JFreeChart
- Topic: draw LegendTitle in JPanel
- Replies: 3
- Views: 4731
- Thu Mar 29, 2007 1:47 pm
- Forum: JFreeChart
- Topic: Exctracting and showing only Legend
- Replies: 5
- Views: 9287
- Mon Sep 18, 2006 2:34 am
- Forum: JFreeChart
- Topic: Can legend labels be written in two lines
- Replies: 2
- Views: 4189
- Thu May 18, 2006 12:47 pm
- Forum: JFreeChart
- Topic: Auto Locking only to first series in dataset
- Replies: 1
- Views: 2638
Auto Locking only to first series in dataset
Hi, I have one dataset with 3 series in it. The first series is data, the second is a moving average, and the 3rd is another set I need. When the user clicks on the chart, it will auto lock to the closest data point for any of the series. I would like it to auto lock only to a data point in the firs...
- Wed May 17, 2006 4:39 pm
- Forum: JFreeChart
- Topic: Manually Selecting Data Point/Cross Hairs
- Replies: 1
- Views: 2811
Hi, I think I am onto something but it does not seem to work (based on samples and looking at the source): Rectangle2D dataArea = chartPanel.getChartRenderingInfo().getPlotInfo().getDataArea(); double x = dateAxis.dateToJava2D(new Date(/* a date value on the domain axis*/), dataArea, plot.getDomainA...
- Wed May 17, 2006 12:51 pm
- Forum: JFreeChart
- Topic: Manually Selecting Data Point/Cross Hairs
- Replies: 1
- Views: 2811
Manually Selecting Data Point/Cross Hairs
Hi, I have a chart that has a bunch of monthly data in it. I have added a ChartMouseListener so that when a user selects a point on a chart (and the crosshairs appear) I can determine the value, for example: 1/1/2001 with a value of 2.0. Then when the user saves I store this selection. However, when...