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

Message ListMessage List     Post MessagePost Message

  realtime question
Posted by SeungHo Moon on Feb-13-2012 16:18
Attachments:
hi.

Sample using real-time programs.
I want to know.
Period of a few seconds when receiving Data,
Do not be connected to the graph?

An example is illustrated below.

         1sec 2sec 3sec 4sec 5sec 6sec 7sec
data1    2      3      4     3     2      1      0
data2    3      4      3     2     1      0      1
data3    1      -      2     -      -      3      -


If you let me know if there is a way. Thank you.
test.png

  Re: realtime question
Posted by Peter Kwan on Feb-13-2012 22:33
Hi Seung,

Do you mean you would like the data3 to be not connected?

If this is the case, please use NoValue for the missing points. For example:

data3:    1      NoValue      2     NoValue       NoValue     3      NoValue

Note: The syntax of NoValue depends on your programming language. It is called Chart::NoValue in C++, $perlchartdir::NoValue in Perl, Chart.NoValue in .NET (VB.NET, C#) and in Java, cd.NoValue in VB6/VBScript/ASP and ColdFusion, ChartDirector::NoValue in Ruby, and just NoValue in PHP or Python.

If you want the line to join through the missing point, please use the LineLayer.setGapColor method and set the gap color to SameAsMainColor. For example, in C#/Java:

layer.setGapColor(Chart.SameAsMainColor);

Hope this can help.

Regards
Peter Kwan