Hi, I was wondering if there is some way of getting hold of the Rectangle2D value for a whole Category (the area it spans)?
If years are my category, the black outline would be the Rectangle2D value for the year 2000. Is there some way of retrieving this value?
Picture: http://sub.suntime.no/
Search found 12 matches
- Fri Aug 08, 2008 12:43 pm
- Forum: JFreeChart
- Topic: Question about CategoryPlot
- Replies: 0
- Views: 2275
- Thu Aug 07, 2008 2:55 pm
- Forum: JFreeChart
- Topic: Stacked area chart is split into bars
- Replies: 3
- Views: 6139
- Fri Aug 01, 2008 8:37 am
- Forum: JFreeChart
- Topic: Converting pointerlocation to values in a categoryplot
- Replies: 2
- Views: 3780
Thank's for your reply. I might have been a little unclear. If I'm not clicking an entity at all but just clicking the chart. Could I get the value where I'm clicking? In an XY-plot I would use : java2DToValue() I would also like to capture a click event on a CategoryAnnotation, but there is no Cate...
- Fri Aug 01, 2008 8:08 am
- Forum: JFreeChart
- Topic: Converting pointerlocation to values in a categoryplot
- Replies: 2
- Views: 3780
Converting pointerlocation to values in a categoryplot
Is there some way of converting the pointerlocation on the chart to corresponding values in a category-plot? I'm using Year as the category value. I would like to know the year I'm clicking on in the chart. I have done this on XY-Plots, but Im not sure if this is possible in a category-plot? One mor...
- Fri Jul 11, 2008 10:00 am
- Forum: JFreeChart
- Topic: My renderer wont change shapes (XYDotRenderer)
- Replies: 4
- Views: 5370
- Thu Jul 10, 2008 12:10 pm
- Forum: JFreeChart
- Topic: OHLC dates always renders in the middle of the year
- Replies: 2
- Views: 3735
OHLC dates always renders in the middle of the year
I have created a chart where I want one OHLC set each year.. but my graphs always renders in the middle of 2 years like it is in june.. This is what i have Year temp = new Year(2001); OHLCSeries s2 = new MyOHLCSeries("test"); s2.add(new Year(new Date(temp.getFirstMillisecond())), 10, 10, 2, 2); This...
- Thu Jul 10, 2008 10:20 am
- Forum: JFreeChart
- Topic: My renderer wont change shapes (XYDotRenderer)
- Replies: 4
- Views: 5370
My renderer wont change shapes (XYDotRenderer)
Im trying to change a shape: XYDotRenderer dotRenderer = new XYDotRenderer(); dotRenderer.setPaint(Color.black); dotRenderer.setDotHeight(3); dotRenderer.setDotWidth(3); dotRenderer.setBaseShape(org.jfree.chart.plot.DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE[6]); xyplot.setRenderer(0, dotRenderer...
- Mon Jun 23, 2008 11:55 am
- Forum: JFreeChart
- Topic: custom chartpanel
- Replies: 0
- Views: 1854
custom chartpanel
Hi, I'v made a custom chartpanel but i'm not sure where to implement this. Is there some way to set this in the chartframe ? or do i have to make a new frame that uses my new chartpanel ?
- Fri Jun 20, 2008 7:16 am
- Forum: JFreeChart
- Topic: Axis / Scaling problem?
- Replies: 2
- Views: 3532
- Thu Jun 19, 2008 1:42 pm
- Forum: JFreeChart
- Topic: Axis / Scaling problem?
- Replies: 2
- Views: 3532
Axis / Scaling problem?
I have problem with getting the correct Y values when having mouseover a point on my chart.. This is what i have in my listener: public void chartMouseMoved(ChartMouseEvent move) { MouseEvent e = move.getTrigger(); int x = e.getX(); int y = e.getY(); Point2D p =frame.getChartPanel().translateScreenT...
- Wed Jun 18, 2008 5:02 pm
- Forum: JFreeChart
- Topic: Render XYSeries
- Replies: 2
- Views: 3391
- Wed Jun 18, 2008 12:34 pm
- Forum: JFreeChart
- Topic: Render XYSeries
- Replies: 2
- Views: 3391
Render XYSeries
Hi.
I have a dataset with some XYSeries items, i was wondering if it was possible to render one of these series as a barchart? It looks like the whole dataset has one renderer? (is it possible to assign renderers to the series items?).
I'll add that this is a great project, keep it up!
-Thomas
I have a dataset with some XYSeries items, i was wondering if it was possible to render one of these series as a barchart? It looks like the whole dataset has one renderer? (is it possible to assign renderers to the series items?).
I'll add that this is a great project, keep it up!

-Thomas