a blue line?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jason

a blue line?

Post by Jason » Wed Mar 13, 2002 2:08 pm

Dear Sir,

When I use VerticalBarChart, there is a blue dot line on the chart. May I know what is that for? I thought that was a aveage line, but it isn't. Also, I can turn off that blue dot line? Thanx a lot for help.

Jason

Re: a blue line?

Post by Jason » Wed Mar 13, 2002 2:13 pm

Hello,

I figured out when I click the mouse, the blue line will move. I know what is that for now. Thanx...However, there should be a method to close it, right?

David Gilbert

Re: a blue line?

Post by David Gilbert » Wed Mar 13, 2002 5:00 pm

Hi Jason,

You can switch off the crosshair line for an axis like this:

Plot plot = chart.getPlot();
NumberAxis axis = (NumberAxis)plot.getAxis(Axis.HORIZONTAL);
axis.setCrosshairVisible(false);

Regards,

DG.

Locked