ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Random updation of chart
Posted by Mikey on Dec-16-2014 14:53
Attachments:
Hello

My chart is updating randomly ,I want my chart to update after every 10 seconds. But its
updating after 30 sec and sometimes after 1 min and so on.How to fix this. I have used jsp.
Moreover I don't want the other two axis be shown or I want  to make the line color of right
y-axis and top x -axis same as that of background.

My code for jsp is
ALARMREALTIME.jsp
ALARMREALTIME.jsp

1.11 Kb
AutomaticAlarm.jsp
AutomaticAlarm.jsp

2.63 Kb

  Re: Random updation of chart
Posted by Peter Kwan on Dec-17-2014 03:34
Hi Mikey,

In your code, the chart should update every second. If you do not see the chart updating
every one second, I can think of two reasons:

(a) The JSP server or the network is slow so it cannot update that fast.

(b) The chart does update every one second normally. However, the updated chart is the
same as the original chart. So you do not see any change. To confirm if the chart has been
updated, please put the current time (with hh:mm:ss) in the chart title. In this way, even if
the data are the same, you can at least see the chart title changes and can confirm that
chart has in fact been updated. Alternatively, you can look at your server log file to see if
there is in fact a request every one second.


If you want the chart to update every 10 seconds, please change the timer to 10000
milliseconds (instead of 1000 in your code).

Hope this can help.

Regards
Peter Kwan