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], "Ely Greenfield" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] On > Behalf Of deepbits > Sent: Sunday, March 11, 2007 11:44 PM > To: [email protected] > 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. >

