Hi Megha,
I am not exactly sure how you would like to fit the charts on the "screen". From your screen
shot, it looks like it is a web application. Whether a scroll bar appears depends on the
browser window size, and also on the size of your web page. Note that the size of your web
page is not the same as the size of the charts, as your web page can contain other
contents as well.
In any case, the graph size is determined by your code. If you want all graphs to have the
equal size, please write code that creates all charts at the same size. If you want all the
charts to fit on the browser window, you can first write code to detect the browser window
size, then create the charts at the proper size so that they fit on the browser window.
In practice, I think most people will design a web page assuming a fixed width, especially
those with a lot of images. For example, when I look at the Yahoo web site, I found that it
will have horizontal scroll bar if the browser window is less than around 950 pixels. If the
browser window is very wide, their contents will still be only 1100 pixels wide even and is
centered in the middle. May be you can use the similar method - simply design the page
assuming a fixed width (eg. 950 pixels). If the user sets the browser window to a small
width, it is hard to avoid the scroll bar anyway, so it may be acceptable to have scroll bars
for small window size.
Regards
Peter Kwan |