on ‎2012 Jul 24 3:41 PM
Hello All,
I am getting Stack Overflow when I am executing a Chart in xMII 11.5.I am not pulling very huge data.Just 15 Rows.
Chart is getting displayed but "Stack Overflow" popup message is coming.Also till the message appears,I am unable to select anything in Chart.
It is not happening in all the machines.In my machine Java Version is 1.7.0_04.Is it happening because of Java Version?
Thanks
Manisha
Request clarification before answering.
15 rows being returned should not be an issue, but what is your query template's RowCount (like a max limit)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
I am calling a function by using UpdateEvent.
var chart1Object = document.Untitled.getQueryObject();
chart1Object.setStartDate(document.Untitled.getQueryObject().getStartDate());
chart1Object.setEndDate(document.Untitled.getQueryObject().getEndDate());
document.Untitled.getQueryObject().setParam(1,noOfDays);
SD=document.Untitled.getQueryObject().getStartDate();
ED=document.Untitled.getQueryObject().getEndDate();
document.Untitled.updateChart(true);
But my transaction is not even taking 1 sec to execute and rowcount is 100.
Please suggest me what is the issue here.
Thanks
Manisha
Unless you've altered your logic to protect the applet names, you are setting the startdate and enddate of the Untitled query object to itself?
The .updateChart(true) method will fire the UpdateEvent in a possible infinite loop, so search the 11.5 help docs for 'setUpdateEventEnabled' - you should disable the event before telling the chart to update, after which you can reenable the event.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.