Sunday, June 12, 2011

yogi_Insert A Chart Image In Blog And Then Resize The Image By Enlarging The Chart In Spreadsheet

Yogi Anand, D.Eng, P.E.                                         Google Spreadsheet                  
zodac said ...
I'm publishing the chart itself, using the "image" option. While the chart takes up most of the page when editing, the published image is aroung 600x400 pixels.
Is there any way to increase the size?

When a Chart is published as an Image, in the code that is produced, there are no attributes for adjusting the width and the height of the image

following is the code that was produced by Clicking on the top left hand corner of the Chart to Publish chart as Image (not Interactive Chart) ... code is shown without the opening and closing angle brackets ...
img src="" /

to facilitate having control over the width and the height of the Chart published as Image, I moified the code by adding the width and height parameters -- the modified code is hown below without the opening and the closing brackets ...
img src="" width=765 height=300 /

and finally here is the Chart with the height and width as specified