Daniel-
Thank you. That was it. I made the chart height 15px smaller than the
chart.chartArea.height and that left a nice small white space border.
I guess none are so blind as they that cannot see. Like so many things
in life, once you understand something it is obvious, but until then a
mystery.
I was very puzzled why there were two height (and width) properties,
never stopping to think that one was a chart option and the other a
chartArea option. Once that became clear it is obvious how to use them.
As a newbie I suggest someone consider a small bit of explanatory text
in the 'Using Google Charts" Chart Galleries help 'chartArea.height' and
'height' (also widths) area that says for example...
chartArea.height number or string auto Chart area height. See also
'height' option to adjust the chart size within the chart area.
That would make things a lot clearer for anyone trying to learn about
the use of charting.
-ken b
On 12/14/2014 2:23 PM, 'Daniel LaLiberte' via Google Visualization API
wrote:
Hi Ken,
You also can adjust the height of the overall chart, separate from the
'chartArea'. If your div height is 350, this should be used to
determine the default chart size, but I can't tell what else you are
doing with your chart options without seeing the code. So try:
var options = {
height: 350,
chartArea: {
height: 350
}
}
On Sun, Dec 14, 2014 at 10:58 AM, Ken Burkhalter
<[email protected] <mailto:[email protected]>> wrote:
The Line Chart I have generated seems to have excessing white
space bordering it. I have been able to trim the top and left
sides, but the bottom is excessive and although I have tried to
change every chartArea option I can think of to try, I have not
been successful.
Here is an example, where the new Google Chart is displayed on a
page with others (not yet converted).
There is no html inserted spacing between the chart elements, so
all the space is associated with the Google Chart itself. Here is
the page code...
|
<body>
<divid="chart_div"style="width:775px;height:350;"align:="left"></div>
<imgsrc="logtemp/week.jpg"alt="The Week Temps"/><br/>
<br/>
<imgsrc="logtemp/month.jpg"alt="The Month Temps"/>
</body>
|
And here is the displayed result...
<https://lh3.googleusercontent.com/-wTB_cHHZ_JQ/VI2zFu-nBZI/AAAAAAAACgc/W-cusRo_ImE/s1600/2014-12-14_10-50-48.png>
The red boxed area is all excessing white space that I would like
to trim as much as possible.
Is this possible?
Thanks.
--
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]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
Daniel LaLiberte
<https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058
[email protected] <mailto:[email protected]> 5CC, Cambridge MA
[email protected] <mailto:[email protected]> 9
Juniper Ridge Road, Acton MA
--
You received this message because you are subscribed to a topic in the
Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/google-visualization-api/7sD67KFpUhk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
-ken burkhalter
--
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/d/optout.