Thanks for the replies.

Setting explicit pixel widths for the columns isn't an option for me,
because I'm writing a wrapper class in ASP.NET which must be general
enough to support charts of various widths.

Instead, I rounded my values up prior to rendering the chart (e.g. 771
became 800 in both the chart scale and axis range).

This seems to be working, but it's an ugly fix.

For anyone else having this problem, to scale up, I use the formula
10^x  where x = floor(log10(chart_max)). If the chart max is in the
hundreds (e.g. 224, 771 etc) it rounds up to the next 100 (300, 800
respectively). If the chart max is in the tens (e.g. 24, 81) it rounds
up to the nearest 10 (30, 90 respectively). Same for thousands etc.

--

You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.


Reply via email to