> Remove the labels altogether and leave only a title (Response time
24hr)

Since you are setting showLabels="false" and that's not working, I guess
it is a bug.

> only add labels for every hour.

You can use a DateTimeAxis rather than a CategoryAxis and set dataUnits
to "hours".

HTH, 

Matthew J. Horn
Flex docs

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of christopherjdunn
> Sent: Tuesday, March 14, 2006 3:40 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex 2 graph axis label question
> 
> I'm trying to do the following with no luck so far. 
> 
> I have a small graph to represents 24 hours worth of data 
> (happens to be ping response times). Since it's a small graph 
> and numerous values, the horizontal axis labels look like 
> little lines. I would like to do one of the following, which 
> I have not been able to get either to work. Remove the labels 
> altogether and leave only a title (Response time 24hr) or 
> only add labels for every hour.
> 
> Here's my code for trying to remove the labels altogether:
> 
> <mx:LineChart id="ResponceTime" width="324" height="113" 
> showDataTips="true" dataProvider="{deviceList.GetData.result}">
> <mx:horizontalAxis>
> <mx:CategoryAxis title="Responce Time (24Hr)" /> 
> </mx:horizontalAxis> <mx:horizontalAxisRenderer> 
> <mx:AxisRenderer showLabels="false"/> 
> </mx:horizontalAxisRenderer> <mx:series> <mx:LineSeries 
> yField="SCAN_POLLDATA"> <mx:stroke> <mx:Stroke 
> color="0xFF33CC" weight="1"/> </mx:stroke> </mx:LineSeries> 
> </mx:series> </mx:LineChart>
> 
> Any pointers would be great.
> 
> Chris
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to