Axis legend

Hi
My problem is about axis legend. I create 2 axis :

timeMap = new ScalarMap(time, Display.XAxis);
heightMap = new ScalarMap(height, Display.YAxis);

and I plot a line chart of 250 points :

point_ff.setSamples(point_val);

But when I have to define the range:

timeMap.setRange(0.0, timemax);

I have a problem cause, I have 250 points but time
begin at 0.0s and end at 50.0s with a step of 0.2s so
I want display 50 in the XAxis and I want to display
the 250 values, how can I do it?
thanks


        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com