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

Message ListMessage List     Post MessagePost Message

  Exception putting 2 charts in realtimetrack.jsp
Posted by corrine sun on Jan-14-2015 15:45
Attachments:
Hello,
    I put 2 realtime charts with trackline in one jsp, but the second chart is updated
exceptionally. Its Y-Axis will be the same as the first chart  and the trackline looks like
invalid after one refresh.
     My code is attached, which is modified from the jspdemo.
realtimetrack.jsp
realtimetrack.jsp

7.51 Kb

  Re: Exception putting 2 charts in realtimetrack.jsp
Posted by corrine sun on Jan-14-2015 17:10
already resolved:

change the code if(viewer.isPartialUpdateRequest()) to
if(viewer.isPartialUpdateRequest()&&viewer.getSenderClientId().equals("chart1")) so that
the WebChartViewer to identify the different ajax client request.