Hey Mc Get Vizzy,
Heres my sample code ,I have used for the functionality of maximising the
chart.
<a href="javascript:maximiseChart('myPage.php');">Maximise</a>
// where in myPage.php the chart is drawn.
<script type="text/javascript">
function maximiseChart(iframeSrc)
{
// I m loading the chart into an iframe which is inside a div.
document.getElementById('maxContentDiv').style.display = "block";
document.getElementById('maxDivIframe').src = iframeSrc;
}
</script>
<div id='maxContentDiv' style="height:550px; width:700px">
<iframe src='' id='maxDivIframe' height="95%" width="100%"></iframe>
</div>
Now when the chart open up in this iframe it doesnt take the full height
and width of the iframe.
What may be the issue ?
On Thursday, 5 April 2012 13:37:45 UTC+5:30, MC Get Vizzy wrote:
>
> I don't know. How are you doing the maximize pop up? Can you send a code
> example?
>
> On Thu, Apr 5, 2012 at 10:01 AM, shub wrote:
>
>> Hi,
>>
>> I am loading graphs in divs with some height and width. I have a
>> maximise option to view the graph in Maximise pop up. But my graph is seen
>> in full height and width for the first time only. If I again open it in
>> Maximise pop - up , the height reduces to that of my small div ??
>>
>> I have not mentioned any height and width which drawing the chart,
>> so y is it not taking the height and width of the maximise pop up container
>> ?
>>
>> How to resolve this issue.... ?
>>
>>
>> Thanks in advance.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Visualization API" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-visualization-api/-/hOfT5U4qHF4J.
>> 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-visualization-api?hl=en.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/FwTYSXGiaw8J.
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-visualization-api?hl=en.