I too am surprised that this can't be more easily done, it's something I get asked for nearly every time we have a barchart.
-J On Thu, Mar 13, 2008 at 2:14 AM, Brendan Meutzner <[EMAIL PROTECTED]> wrote: > Maybe allowing them to change the vertical axis between Logarithmic and > Linear might be an easier solution for this? > > > Brendan > > > > > On Wed, Mar 12, 2008 at 11:11 AM, Andrej van der Zee <[EMAIL PROTECTED]> > wrote: > > > 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] <bmeutzner%40gmail.com>> > > 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] <mavdzee%40yahoo.co.uk>> 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 > > > > > > -- > Brendan Meutzner > http://www.meutzner.com/blog/ > > -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]