Hello Daniel, I did not get any respond, but still I need your help to
track this down. Hope you can find time soon. // N
Den onsdag 17 augusti 2016 kl. 22:56:05 UTC+2 skrev Niklas Nässén:
> I have sent a pm
>
> Skickat från min iPhone
>
> 17 aug. 2016 kl. 16:14 skrev 'Daniel LaLiberte' via Google Visualization
> API
>
> Could you please point me at your web page? The data could make a
> difference here as well, so it would save time just to view the actual
> page. Send me a private link of your page is not public.
>
> On Wed, Aug 17, 2016 at 10:10 AM, Niklas Nässén wrote:
>
>> Hi, I have tested your code. It is working. However its still Leaking,
>> and I dont know why. I attach all code in a zip. Thank you for your support.
>>
>> System Environment:
>>
>> Clients: Tested on msWin7 iexplore 11 32 bit and Crome Version
>> 52.0.2743.116 m 32 bit.
>> Server: msWindowsServer 2008. Apache+PHP via XAMPP
>> SQL: msSQLLightServer2008
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Den fredag 12 augusti 2016 kl. 11:18:54 UTC+2 skrev Niklas Nässén:
>>
>>> Hello,
>>>
>>> My chart is working perfectly, grabbing data from msSQL server every
>>> second, but the browser memory usage increases by 1Mb per second, causing
>>> the browser to crash after some hours. I have been looking at old posts
>>> from 2012-2015 showing workarounds, but I have not been able to implement
>>> them since I don't understand the explanations of the workarounds
>>> suggested. For example:
>>>
>>> if (chart) {
>>> chart.clearChart();
>>> }
>>>
>>>
>>>
>>> Is there a newer version of the API, then what do I need to change in my
>>> code to migrate? If not can someone help me in how to make the workarounds
>>> to work ?
>>>
>>> I added some code below that shows the main parts I used. And attached
>>> a screenshot, and one of the php script I use.
>>>
>>> Thanks Nick
>>>
>>>
>>>
>>>
>>>
>>> <script type="text/javascript" src="
>>> https://www.google.com/jsapi?autoload=
>>> {'modules':[{'name':'visualization','version':'1.1','packages':
>>> ['corechart']}]}"></script>
>>> <script type="text/javascript" >
>>>
>>>
>>>
>>>
>>> function getData() {
>>> jQuery.ajax({
>>> url: 'ajax_working2.php',
>>> type: 'GET',
>>> dataType: 'json',
>>> mimeType: 'multipart/form-data',
>>> contentType: false,
>>> cache: false,
>>> processData: false,
>>> success: function(data) {
>>> if (data == "null") {
>>>
>>> } else {
>>> drawGraph(data);
>>> }
>>> },
>>> error: function(textStatus) {
>>> console.log(" error.");
>>> }
>>> });
>>> }
>>>
>>>
>>> setInterval(function(){
>>> document.getElementById("Tiden").innerHTML = new Date().toLocaleString
>>> ();
>>> getData();
>>> },1000);
>>>
>>>
>>> --
>>
>
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/08ad0054-d7b0-4ac5-ba09-67de89749294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.