Hi Daniel,

I draw the chart in different way that Google's example suggested. In my 
environment a user enters initial parameters then the script sends POST 
request to the server and then it draws the chart on "success" ajax call. 
However, initial div placeholder is presented in HTML code and has "height" 
& "width" parameters specified.

Just for note that Google's example works just fine showing annotations 
part in proper area.

Thanks,
Oleg.


On Tuesday, 26 May 2015 13:21:44 UTC+1, Daniel LaLiberte wrote:
>
> Oleg,
>
> I suspect the problem with showing the AnnotationChart in a wordpress page 
> involves when the chart is drawn.  If it is drawn when the container you 
> are drawing it in is not visible, then the chart doesn't know how to place 
> things properly.  But I'd have to see the page in action to tell for sure.  
> Could you point us at a page that demonstrates the problem? 
>
> If this is the case, what can be done about it is the next question, but 
> in general terms, you will need to find a way to delay drawing the chart 
> until the container is visible, or force it to be visible when you do draw 
> the chart.
>
> On Sat, May 23, 2015 at 6:47 PM, mortgageA <[email protected] 
> <javascript:>> wrote:
>
>> Added screenshot as attachment.
>>
>> On Saturday, 23 May 2015 23:42:33 UTC+1, mortgageA wrote:
>>>
>>> Hello there,
>>>
>>> I've been struggling fora while to get the chart working inside my 
>>> Wordpress template page. The problem can be seen on the screenshot:
>>>
>>>
>>>
>>> Annotations column is located under the chart but I need it on right 
>>> side. It looks like  this div has incorrect size:
>>>
>>>
>>> <div class="containerTable" 
>>> id="google_chart_AnnotationChart_containerTable">
>>>
>>>
>>> Cheers,
>>> Oleg.
>>>  
>>>
>>  -- 
>> 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] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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] <javascript:>   5CC, Cambridge MA
> [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA
>  

-- 
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.

Reply via email to