Search found 13 matches

by m3stevep
Tue Jun 05, 2007 6:22 am
Forum: JFreeChart
Topic: BUG? CombineDomainXYPlot; XY scale is not working.
Replies: 3
Views: 4369

After further review I was a bit premature to claim victory. Each graph is in it's own range. I want them to be the same range, so the change is visible. The auto-scaling that is calculated per graph should be applied to all graphs in the combined. Exampe: The scale for both graphs should be 0 - 312...
by m3stevep
Mon Jun 04, 2007 9:23 pm
Forum: JFreeChart
Topic: BUG? CombineDomainXYPlot; XY scale is not working.
Replies: 3
Views: 4369

Doing the above, as you suggested causes each plot to have its own range. That is not acceptable. The magnitude of change is skewed when you allow each plot to have a different scale.
by m3stevep
Mon Jun 04, 2007 10:10 am
Forum: JFreeChart
Topic: BUG? CombineDomainXYPlot; XY scale is not working.
Replies: 3
Views: 4369

BUG? CombineDomainXYPlot; XY scale is not working.

I'm trying to create a CombinedDomainXYPlot, but am having troubles getting it to scale correctly. It seems like the scale of the last XYPlot added wins and all others are ignored. Here is a simplied version of my code. Any help is much appreciated. import org.jfree.ui.ApplicationFrame; import org.j...
by m3stevep
Sun Nov 12, 2006 7:45 am
Forum: JFreeChart
Topic: Crosshair X,Y location on Panel
Replies: 2
Views: 4166

Worked great! Thanks! btw... This is how I implemented it... where mouseX & mouseY are used in the main panel. private void evaluateScreenMouseXY(XYPlot plot, XYDataItem di) { ChartRenderingInfo info = this.chartPanel.getChartRenderingInfo(); Rectangle2D dataArea = info.getPlotInfo().getDataArea(); ...
by m3stevep
Tue Nov 07, 2006 9:54 am
Forum: JFreeChart
Topic: Crosshair X,Y location on Panel
Replies: 2
Views: 4166

Crosshair X,Y location on Panel

Is there a way to get the X and Y values for the XYPlot's crosshair location? Read carefully before you answer. plot.getDomainCrosshairValue() gives the value for X in the Dataset, but I'd like to know the X value on the panel to position some text relative to the crosshair location. It'd be nice if...
by m3stevep
Tue Oct 31, 2006 10:04 am
Forum: JFreeChart
Topic: XYPlot click event & key events
Replies: 1
Views: 2793

XYPlot click event & key events

Is there a way to tie the arrow keys to iterate through graph plots? Similar to the side effect of the slider in 'Crosshair Demo 1'. I could just use the slider, but I'm having a hard time figuring out how to find out what item in the dataset I've selected. The slider is tied to the dataset.getItemC...
by m3stevep
Mon Oct 23, 2006 9:46 pm
Forum: JFreeChart
Topic: ChartMouseListener not working..please help!!
Replies: 2
Views: 6110

move the chartPanel.addChartMouseListener(new org.jfree.chart.ChartMouseListener() {... to the constructors chartPanel.

You've created an extra chartPanel in the createChart method that is not necessary.
by m3stevep
Mon Oct 23, 2006 6:02 pm
Forum: JFreeChart
Topic: XYChart Crosshair click bug?
Replies: 5
Views: 9256

Can I disable single click response for the crosshairs?

The crosshair values don't mean anything when the chart is single clicked ( it's all over the board ).
by m3stevep
Mon Oct 23, 2006 5:56 pm
Forum: JFreeChart
Topic: XYTextAnnotation background color
Replies: 2
Views: 4228

That'd be awesome! Please repost to this when it's available.
by m3stevep
Mon Oct 23, 2006 4:46 pm
Forum: JFreeChart
Topic: XYChart Crosshair click bug?
Replies: 5
Views: 9256

Is there a way to force the crosshair value to update?

I'm plotting 2,000 points. I was using the ChartProgressListener, but it seems to bog down the CPU with this many data points.
by m3stevep
Mon Oct 23, 2006 8:45 am
Forum: JFreeChart
Topic: XYChart Crosshair click bug?
Replies: 5
Views: 9256

XYChart Crosshair click bug?

I'm using an XYChart with use of the crosshair functionality which matches closely to CrosshairDemo4.java. This example states that the crosshairs will lock on the nearest data point. The Crosshairs visibly migrate to a valid point, but the double x = plot.getDomainCrosshairValue(); double y = plot....
by m3stevep
Mon Oct 23, 2006 8:34 am
Forum: JFreeChart
Topic: XYTextAnnotation background color
Replies: 2
Views: 4228

XYTextAnnotation background color

I'd like to change the background color of the XYTextAnnotation, so the text is a little more easy to read.

Thank you for your help.
by m3stevep
Sun Oct 22, 2006 5:27 am
Forum: JFreeChart
Topic: advanced crosshair
Replies: 9
Views: 18528

I'd really like to have a look at the source code as well.

Please....