|
Sweep Chart support in ChartDirector in .Net |
Posted by Mrgn on Nov-28-2014 17:02 |
|
Hi,
I am trying to implement the Sweep Chart functionality in CD with RealTime data where
the Data will be plotted from Left-to-Right and when the Data reaches the right most, then
the data will start from leftside again by overwriting the oldest data in the chart. (ie. This
is much like the trend displayed in PerfMon tool in windows). Attached the screenshot of
the PerfMon Chart which describes how the data overwrites with the Trackline.
Pls provide me a sample for this
|
Re: Sweep Chart support in ChartDirector in .Net |
Posted by Peter Kwan on Nov-29-2014 02:16 |
|
Hi Mrgn,
In the original realtime code sample code, the data arrays are updated by shifting. You can
modify them into a sweep chart by updating the data arrays in a different way.
I happened to have an example in MFC/C++. I can modify it to .NET to fit you need. Would
you mind to clarify which programming langauge (C# or VB) you are using, and whether you
are writing an ASP.NET or a desktop application?
Regards
Peter Kwan |
Re: Sweep Chart support in ChartDirector in .Net |
Posted by Murugan on Nov-29-2014 04:21 |
|
Hi Peter,
First thank you very much for your prompt response. i really appreciate that.
As u mentioned in your reply, i tried shifting the data in such a way to get the Sweep Chart
effect. But couldn't able to get the Trackline moves along with the current plot datapoint
while sweeping.
Please share the sample which you mentioned in your mail in C# .net.
regards,
Murugan |
Re: Sweep Chart support in ChartDirector in .Net |
Posted by Murugan on Dec-03-2014 15:01 |
|
Hi Peter,
I am awaiting for your sample code. Please respond to the earliest. |
Re: Sweep Chart support in ChartDirector in .Net |
Posted by Peter Kwan on Dec-04-2014 01:34 |
|
Hi Murugan,
We apologize very much for the delay.
We was thinking whether you need a Windows Forms example or a Web Forms example, and
then we forgot about it.
I have just written a C# Windows Forms example for you. It is based on the "Simple
Realtime Chart (Windows)" sample code. Basically, I modified how the data arrays and the
axis scale are updated to achieve the sweep effect.
Hope this can help.
Regards
Peter Kwan
|
Re: Sweep Chart support in ChartDirector in .Net |
Posted by Murugan on Dec-04-2014 21:22 |
|
Hi Peter,
The sample you have shared seems promising. I will try the implementation with RealTime
data.
Thank you very much. |
|