I to have this behaviour....when I update my chart, the page is scrolled to 
the top and also in my case, to the left.  Any thoughts.  

On Monday, 3 October 2011 02:42:23 UTC-6, Riccardo Govoni ☢ wrote:
>
> Hi David,
> can you provide some extra info about the visualization you're using 
> and/or an example page showing the problem?
>
> I created this quick example: http://jsfiddle.net/7JLQ3/1/ that contains 
> a chart placed in the middle of a very long page, updating every 5 seconds. 
> I can't reproduce your problem: when the chart redraws the scrolling 
> position is unaffected.
>
> -- R.
>
> On 2 October 2011 23:17, Julian King <hool...@gmail.com <javascript:>>wrote:
>
>> Two things, first are you using the GoogleVisualizationsForDotNet that I 
>> published on code.google.com?  If not then i can't vouch for anyone 
>> else's implementation of google charts.  If you are using my wrapper class 
>> then the behavior you describe sounds like a postback?  I have a chart 
>> refreshing though AJAX and the page doesn't scroll.
>>
>> If it is my chart wrapper please send sample code.
>>
>>
>> On Sat, Oct 1, 2011 at 2:41 AM, David Vallee <dav...@gmail.com<javascript:>
>> > wrote:
>>
>>> So I have an ajax call every seconds, grabbing some json data, and I
>>> have some setValues to update the datatable with the json data. At the
>>> moment I update the chart with the draw method, the page scrolls back
>>> to the chart being updated. How can I prevent this behavior?
>>>
>>> --
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google Visualization API" group.
>>> To post to this group, send email to 
>>> google-visua...@googlegroups.com<javascript:>
>>> .
>>> To unsubscribe from this group, send email to 
>>> google-visualization-api+unsubscr...@googlegroups.com <javascript:>.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-visualization-api?hl=en.
>>>
>>>
>>
>>
>> -- 
>> Best Regards,
>>
>> Julian King
>> (206) 697-4663
>> hool...@gmail.com <javascript:>
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Visualization API" group.
>> To post to this group, send email to 
>> google-visua...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> google-visualization-api+unsubscr...@googlegroups.com <javascript:>.
>> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to