I don't think there's any way to do this theokgh configuration alone. But you 
could override the bar series update function to always layout an item with a 
min width. Easier would be to provide a custom item renderer that, below some 
minimum width, ignored what the chart was telling it and adjusted its own 
rendering size and location accordingly. 

(note that I wouldn't bother having your renderer mess with its actual x y 
width height- just adjust how it actually renders itself.)


----- Original Message -----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Wed Mar 07 07:06:22 2007
Subject: [flexcoders] small problem with Bar Chart showing days

I'm using a bar chart to show the start and end of a product roll-out. 
I'm using the xField as the start date and the minField as the end 
date, it works and looks real nice. The one problem I've run into 
though is the product(s) that roll out in one day. So if the start 
and end dates are the same I don't get a rendering of a bar... not 
even a little.

Does anyone one have any advice on how to force those bars to render? 
Maybe there's a way to set a min width to it that I can't find? Or 
maybe someone else has run into this kind of thing?

Thanks, Mark --



 

Reply via email to