Problems with a marker in an XY chart.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
dvader666
Posts: 4
Joined: Wed Mar 19, 2003 5:06 pm
Location: Costa Rica

Problems with a marker in an XY chart.

Post by dvader666 » Wed Mar 19, 2003 5:33 pm

I have an XY chart with three data series showing three different constant areas in the chart. I need to put some kind of marker inside the chart, so something like a point (x, y pair) will show if this point is inside area one, two or three... I used a Marker for the X axis and another Marker for the Y axis, so there is a crosshair showing the exact location of the point (where both markers cross each other).

I need to know if I can show this exact point in the chart in any other way, like a dot or something at the specififc XY coordinates.

I'm using version 0.9.4 for this.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Mar 20, 2003 6:10 pm

You could put a text annotation at a particular (x, y) location. The plan is to extend the annotations to handle shapes, arrows etc. Just look through the com.jrefinery.chart.annotations package - extending it would be pretty easy (I just haven't found the time yet).

Regards,

Dave Gilbert

Locked