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:

http://www.quietlyscheming.com/blog/charts/easy-custom-charts/
<http://www.quietlyscheming.com/blog/charts/easy-custom-charts/>

-TH


--- In [email protected], "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Tim Hoff" TimHoff@ wrote:
> >
> >
> > Are you talking about the axis renderer labels for a
> categoryField? If
> > so, check-out labelGap?
>
> No, I am talking about this:
>
> |--------------------------|
> |..........label...........|
> |..........................|
> |..........................|
> |--------------------------|
>
> (the periods are just to keep yahoo from collapsing my lovely ascii
> bar graphic).
>
> What I want is
>
> |--------------------------|
> |..........................|
> |...........label..........|
> |..........................|
> |--------------------------|
>
> LabelGap does this:
>
> .......|--------------------------|
> .......|..........................|
> label..|..........................|
> .......|..........................|
> .......|--------------------------|
> gap ^^^
>
> Thanks :-)
>
> I'm really trying to avoid rewriting anything to make this work. It
> feels like the people who did the chart components have thought of
> virtually anything you might want to do to make them visually like
> you want, so I feel like I'm missing something.
>
> -Amy
>


Reply via email to