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

Message ListMessage List     Post MessagePost Message

  How to have smooth transition gui when chart scroll in Real Time Chart (ASP.NET MVC C#)
Posted by Sinthu on May-15-2017 11:16
Attachments:
Dear Peter,

referring to your Real Time Chart i would to know if i could scroll the chart in real time smooth manner rather moving as block. i have done this windows form and it is smooth. but could not have the same effect in your example. it appears a black box when i click and move the chart. Attached is the sample screen

another problem that i am facing is, how do i resize the viewport scroll size. Please see the attached as well

Please assist, thanks
realtime chart.png
realtime chart-Viewport-resize.png

  Re: How to have smooth transition gui when chart scroll in Real Time Chart (ASP.NET MVC C#)
Posted by Peter Kwan on May-15-2017 23:59
Hi Sinthu,

For desktop applications, the chart can be redrawn as the mouse moves. In ChartDirector,  for ASP.NET MVC web applications, redrawing the chart needs a round-trip to the server. So normally, it is not practical to update the chart when the mouse is moving, and so the chart only updates when the mouse button is released.

For the "viewport scroll size", I see the screen shot, but I do not know how to reproduce the issue (that there seems to be rectangle outside the chart). The screen shot looks like the sample code from ChartDirector. If you have modified the code, is it possible to provide me with the modified code that I can run to allow me to reproduce the issue? If it is just the original sample code without any modification at all, would you mind to inform me of the steps to reproduce the issue?

Regards
Peter Kwan