--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Ok, so we're talking about a vertical axis.  .
> 
>     * For a vertical axis, by default the labels are vertically 
aligned
> to the tick marks (center).    For these, you can adjust the label
> position (up/down) slightly with the labelAlign property; on the 
axis
> tag.  This still might not get you what you want though.  Hard to 
tell
> without seeing an image.
>     * For a horizontal axis, use the labelGap property on the axis 
tag to
> move the label down; from the axis line.
>     * And, of course, you can always create your own axisRenderer.  
This
> can get a little dicey though.
> 
> I'd try labelAlign before moving on to creating a custom 
axisRenderer. I
> agree, the chart framework is a substantial step in a positive
> direction.  I think that Ely put it nicely here:

No, I am talking about the labels WITHIN the bar.  I've posted a 
graphic here, since the ascii art got mangled despite my best 
efforts: http://www.magnoliamultimedia.com/images/labels.jpg.  This 
is the BarSeries, not the Axis. In Eli's chart explorer, he does this 
with a custom renderer, but it seems to me that it shouldn't be 
necessary...why would the team choose an ugly alignment for the 
default and give you no way to change it?  

I've seen places on people's blogs and even in the Flex 3 Cookbook 
where people used bunches of code to do something you could do with 
CSS or a property on the control, so just because there is an example 
on someone's website (no matter how respected) that solves a problem 
with a custom renderer, that doesn't mean that the custom renderer is 
the only or even the best way to solve the problem. 

Thanks;

Amy

Reply via email to