You mean, you want it to extend from  the right to the left?
 
 
Here's the quick and dirty way:
 
1) set the 'placement' property on your verticalAxisRenderer to 'right' to get it over to the right hand side
2) negate the values in your dataProvider
3) set a labelFunction on your horizontalAxis that re-negates the values so they don't look negative.
 
If you wanted to support true left to right rendering, you'll have to modify the LinearAxis class to invert the logic that generates ticks, labels, and transforms data to screen coordinates.
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Friday, April 07, 2006 9:39 AM
To: [email protected]
Subject: [flexcoders] Horizontal bar chart

Any quick way to flip it horizontally or do I need to extend the barchart and rewrite the display?

_________________________________________

Jonathan Miranda

Stealth Project Manager

"Sorry, it's a 'Need to Know' basis only."

HealthGrades: Guiding America to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868

[EMAIL PROTECTED]

_________________________________________

The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee.  If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to