|
Hi Robert. The problem is that there's not enough room
on the axis to show all the labels, so the axis is dropping labels to make room.
It drops labels from the bottom up, so the one on the top may or may not appear
depending on the number and size of your labels. In this case, it's getting
dropped.
One way I can think of to fix this would be to set the
canDropLabels property on the verticalAxisRenderer to false. Unfortunately,
you'll end up with more labels that will be scaled down to fit...But you'll get
your zero axis.
If all you care about
is getting the zero _line_ to appear (not the label), you could set the
horizontalShowOrigin style of the GridLines class to true. That should get you
an origin line.
GridLines {
horizontalShowOrigin:
true;
}
Ely.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Sent: Friday, May 19, 2006 12:57 PM To: [email protected] Subject: [flexcoders] Flex 1.5 - column chart question I scoured the
archives and APIs but couldn’t find anything to allow me to ensure that the zero
vertical axis is ALWAYS shown. I have a column chart who’s dataset
contains all negatives and when the chart displays, the columns are suspended
from nothing at the top of the chart…it’d be nice if they looked like they were
coming from a vertical zero axis. I’ve tried: <mx:verticalAxis>
<mx:LinearAxis baseAtZero="true" autoAdjust="true"
/> </mx:verticalAxis> Based on what I found
in the APIs, this alludes to doing what I want in the chart, but the zero
vertical axis still does not appear. Is there any way to
ensure (FORCE) it will always be visible? This is what the
chart looks like right now, for those with HTML email
programs:
See how the columns
appear to be suspended from nothing? I want the zero vertical axis to be
visible to show that these are actually negative numbers…I mean, it’s pretty
obvious when you look at the vertical labels but it would still be nice to have
that extra visual aid… Any help would be
greatly appreciated! Thanks in
advance, robert l.
brueckmann vice
president merlin
securities p:
212.822.4821 This message contains information from Merlin Securities, LLC,
or from one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure, copying,
distribution or use of this information and note that such actions are
prohibited. If you have received this transmission in error, please notify the
sender immediately by telephone or by replying to this
transmission.
Merlin Securities, LLC is a registered broker-dealer. Services
offered through Merlin Securities, LLC are not insured by the FDIC or any
other Federal Government Agency, are not deposits of or guaranteed
by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell a
particular
security.
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Flex 1.5 - column chart question Robert Brueckmann
- RE: [flexcoders] Flex 1.5 - column chart question Ely Greenfield
- RE: [flexcoders] Flex 1.5 - column chart question Robert Brueckmann


