Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Not drawing cursor strings

Hi,

I am using the same axis for multiple line plots. This is working no
problem.  The issue is that I have a lot(24, although only 6 max are shown
at a time) of data sets and this causes them all to be displayed in the
upper left corner.  Normally this wouldn't be much of an issue but since
there is a single axis it looks kind of funny to have 25(I have added a
generic label as well) lines saying basically the same thing.

Ok on to the real question.  It looks like this is being displayed from
DisplayRendererJ2D.drawCursorStringVector().  What do you think the best
way to go about only showing the generic one is?  It is the first item in
the Vector.  I was thinking of extending DisplayRendererJ2D and overriding
getCursorStringVector() to only return that first one, but I am concerned
this could cause problems elsewhere.  I could also override
drawCursorStringVector() and that is probably more intuitive, but since I
would be copying most of the code from the super class method I would have
to update my version every time VisAD was updated.


Thanks
Ben Monnahan


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690