Hi, it only appears to be doing this, because the chart has weird rules for figuring out the view window automatically. What it's actually doing is giving you a view window from 0 to 2, where your max value is 1. Since you're setting your ticks manually, it's not showing any ticks over 1, which makes it look like it's cutting the chart width in half. One way that you can fix this is by setting your view window explicitly (since you know that percentages will never go over 1). I fixed it here: http://jsfiddle.net/sTHw5/52/
Good luck! - Sergey On Sat, Jan 18, 2014 at 7:56 AM, faladu <[email protected]> wrote: > I've got the following fiddle: > > http://jsfiddle.net/sTHw5/47/ > > If you change the gamelength by adjusting the "Spiellänge" controll to 34 > - 56 the chart resizes it self without a reason (it's only half the size it > should be) > > This seems to happen everytime when all bars are either 0% or 100%, > > Any Advice what to do, that the barchart stays full size all the time? > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
