Ah....gotcha.  The size of each section of the vertical Axis is the total size of the vertical axis / the number of categories.  So to get a constant size per category, you can either:
 
1) create dummy empty categories to make sure you always have the right number of categories
2) create a custom axis that returns the same min/max values regardless of the number of categories (essentially the same thing).
 
Now if what you're asking about is the size of the bars relative to the size of the sections on the axis (you're description and your picture don't quite match), there are properties on the barSeries to limit the size of each bar, in pixels. I believe it's maxPixelsWidth or something like that.
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Pekka Kola
Sent: Tuesday, September 19, 2006 1:13 AM
To: [email protected]
Subject: RE: [flexcoders] How to implement BarChart with vertical scroll bar

Hi!

To be yet more specific, please look at the sketch on attachment,

BR, Pekka


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Pekka Kola
Sent: 19. syyskuuta 2006 7:15
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to implement BarChart with vertical scroll bar

I would like to keep the height of a bar the same regardless how many series there are in the chart. Sorry for poor language, it just was too late here.

Pekka


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ely Greenfield
Sent: 18. syyskuuta 2006 21:17
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to implement BarChart with vertical scroll bar

I'm not sure exactly what you mean by 'fix the height of a bar series.'  Can you be more specific?

E.


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Pekka Kola
Sent: Monday, September 18, 2006 9:51 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to implement BarChart with vertical scroll bar

Thank’s Ely! Can I fix the height of a bar series or should I implement that by myself too?

BR, Pekka


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ely Greenfield
Sent: 18. syyskuuta 2006 19:15
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to implement BarChart with vertical scroll bar

THere's no scrolling functionality built in to the charts, Pekka.  You could extend BarChart to add it, although you might find it easier to embed a barchart instead.

Ely.


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Pekka Kola
Sent: Monday, September 18, 2006 4:43 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] How to implement BarChart with vertical scroll bar

Hi!

I have a need for special BarChart like chart where the height of a series will be fixed and the chart area without x-axis gets a vertical scroll bar in case the row count (N of series in chart) grows bigger so that all the series do not fit to the chart. Should I inherit a new chart from BarChart or does the Bar chart have some “hidden” functionality to do that (fixed height + scroll bar)?

Thank’s in advance,

Pekka

 

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to