Deepa:  chandes are good that the axis was creating lots of labels so they 
ended up being very small. 

----- Original Message -----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Tue Mar 13 00:21:14 2007
Subject: [flexcoders] Re: Charts - Rotated labels not visible on horizontal axis

Hi Ely & all, 

I think I got it working. I am actually dealing with a lot of data 
i.e. day-wise data for 3 years (365 * 3 records). We use this to 
draw our chart.

I was initially setting autoAdjust=true on the DateTimeAxis hoping 
that Flex would decide how many labels to display based on available 
space. But the labels werent visible & hotizontal axis was losing 
formatting.

To solve this, I set autoAdjust="false" and gave my custom 
interval=100. The labels appear now.

Thanks
Deepa.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com> , 
"deepbits" <[EMAIL PROTECTED]> wrote:
>
> Hi there, 
> 
> The chart and the axis + labels come up fine when I do not use 
> labelRotation. The formatting if the axis is also fine.
> 
> But when I use the labelRotation property along with specifying 
the 
> font as the embedded font, the labels no longer appear and the 
> horizontal axis loses its formatting.
> 
> Ely, I will try to post some code by today end.
> 
> Thanks
> Deepa.
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , 
> "Ely Greenfield" <egreenfi@> 
> wrote:
> >
> > 
> > 
> > normally I would suggest its an embedded font problem, but the 
> loss of
> > other formatting on the horizontal axis is very suspicious. I 
> can't
> > think of anything in the chart code that could be causing 
> that...i.e.,
> > my first suspicion is that some code of yours is resetting 
> things. But
> > it's entirely possible that I'm wrong. Can you give more 
details? 
> A
> > simple test case that repros the problem?
> > 
> > Ely.
> > 
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>  
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On
> > Behalf Of deepbits
> > Sent: Sunday, March 11, 2007 11:44 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Charts - Rotated labels not visible on 
> horizontal
> > axis
> > 
> > 
> > 
> > Hi there,
> > 
> > I am trying to use labelRotation (45) on a Horizontal Axis but 
it 
> > does not work.
> > Background:
> > I get data for the charts through an HTTPService, so there is a 
> few 
> > seconds lag between the graph (the axis & legend etc.) appearing 
> and 
> > it getting populated with data. My horizontal axis is a datetime 
> > axis.
> > 
> > I see the following strange behavior.
> > When the graph appears without any data, the horizontal axis 
label 
> > is rotated to 45. At this time there is just one label at the 
> right 
> > end point of the axis "2 jan 1970". I assume this is some 
default 
> > value which Flex is assuming. But when I do get the data and the 
> > chart gets drawn, the labels are no longer visible(!!!) and also 
> the 
> > formatting that I had done on the horizontal axis is lost. The 
> > standard formatting with the thick gray line takes effect. The 
> > expected output would be to see all the labels rotated to an 
angle 
> > of 45.
> > 
> > Can someone help me to understand why this is happening and set 
> this 
> > right?
> > 
> > Thanks
> > Deepa.
> >
>



 

Reply via email to