Yes that's what I just did. I had to take some special
actions for the datatips since it should still give
the original values, and not the chopped ones.

I am doing this to give the user the option through a
slider to set the X-axis so that the smaller bars
(which are "stacked" and composed of subbars) become
better visible. I my setup, sometimes it is just one
large bar that makes it hard to see the smaller
stacked ones. 

Cheers,
Andrej 


--- Brendan Meutzner <[EMAIL PROTECTED]> wrote:

> Just off the top of my head, I believe the cause of
> this is when the bar
> chart renderer goes to draw, it's getting NaN values
> because the transform
> methods used to get x,y position against axis values
> don't exist.
> 
> My suggestion, if you "know" the maximum value of
> your axis, retool your
> dataProvider struct to reset the yField value of
> your series data to that
> maximum.  That'd be the easiest way.  Out of
> curiosity... why are you
> setting the maximum manually if it's causing this
> problem?
> 
> 
> Brendan
> 
> 
> On Wed, Mar 12, 2008 at 8:37 AM, mavdzee
> <[EMAIL PROTECTED]> wrote:
> 
> >   Hi,
> >
> > I noticed that if I have a BarChart and set the
> maximum manually to a
> > value smaller than some bars in the chart (and
> hence don't fit in the
> > chart), then these bars are completely dropped
> from the chart. Is
> > there an easy way to show these bars anyway and
> fill it to the
> > manually set maximum?
> >
> > Cheers,
> > Andrej
> >
> >  
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> http://www.meutzner.com/blog/
> 



      __________________________________________________________
Sent from Yahoo! Mail.
The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html

Reply via email to