The labels aren't set at an angle and I'm using the default font so nothing funny is going on there.
I am seeing performance issues -- Firefox runs about 25-30% CPU usage when my swf is playing and the updateDisplayList calls are literally constant, each one runs 1ms at most as reported by getTimer() calls. I don't *think* the chart data is changing often but I could certainly be wrong about that -- it comes from a CF RemoteObject call that is fired on creationComplete, the result stored in a variable bound to the chart dataProvider. Any standard things I should look for that would cause the data to change often or otherwise cause excessive update? I have considered that the label renderer just can't perform well... Also, any word on the possibility of having the label be a standard link? Thanks for your help, Ely. Brian On 3/7/2007 5:35 PM, Ely Greenfield wrote: > > > Brian -- are your labels set at an angle? If they are, it would > explain why you are having problems. The Flash Player can't render > device text at an angle. You'll have to use embedded fonts, or set the > axis to not render the labels at an angle. > > Regarding the performance...Are you seeing actual performance issues, > or just lots of updateDisplayList calls? It's hard to tell without > more information, but it's totally reasonable to expect that your > labels will be rendering alot. Every time anything in the chart > changes, it needs to verify that its displaying the right ranges, the > right labels, in the right location. All of that would require > updating every one of your labels. > > But it's also possible that something you're doing is causing > excessive updates. It's also possible that custom label renderers > don't perform well ;) > > Ely. > > > ------------------------------------------------------------------------ > *From:* [email protected] [mailto:[EMAIL PROTECTED] > *On Behalf Of *brianhegeman > *Sent:* Wednesday, March 07, 2007 6:11 AM > *To:* [email protected] > *Subject:* [flexcoders] Chart Axis Labels as Link > > I've searched the list and can't find anything quite touching on this > issue. I have a bar chart (with custom item renderer) with two > vertical Category axes and a horizontal Linear axis. For each of the > Category axes I'd like the label to be a link to an URL. I can get the > *text* as I want it using labelFunction on the mx:AxisRenderer without > trouble but I'm baffled as to how I'd get the label to be a link. I'm > guessing I need to write a custom label renderer (or two) but I just > can't get it to work. The LabelRenderer I created (extends UIComponent > implements IDataRenderer) performs horribly -- updateDisplayList is > called constantly according to trace statements -- and displays no label. > > Could anyone at least verify that it's possible to have a web link as > an axis label and that I'm heading down the right path creating a > label renderer? If so, any pointers on how to get the label to be a link? > > Thanks, > Brian > >

