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

Message ListMessage List     Post MessagePost Message

  How to draw the overlay line from the middle of the chart
Posted by bbt on Aug-29-2013 15:25
Attachments:
Hi,

How can I draw the overlay line from the middle of the chart?

Thanks!
Screen Shot 2013-08-29 at 3.24.17 AM.png

  Re: How to draw the overlay line from the middle of the chart
Posted by Peter Kwan on Aug-30-2013 03:38
Hi bbt,

Suppose your closeData array has 100 points, and you want to overlay a line starting at the 60th point. For your line data, please create an array with 100 elements like that of the closeData array. For the first 59 elements, plesae put NoValue in it. The line data can be copied to starting with the 60th element.

Note that the syntax of NoValue differs depending on your programming language. It can be called Chart.NoValue, Chart::NoValue, NoValue, $perlchartdir::NoValue, etc.. You may refer to the sample code "Missing Data Points" for the syntax of NoValue for your programming language edition of ChartDirector.

Hope this can help.

Regards
Peter Kwan

  Re: How to draw the overlay line from the middle of the chart
Posted by bbt on Aug-30-2013 04:43
Thanks a lot Peter!:)

  Re: How to draw the overlay line from the middle of the chart
Posted by bbt on Aug-30-2013 04:43
Thanks a lot Peter!:)

  Re: How to draw the overlay line from the middle of the chart
Posted by bbt on Aug-30-2013 04:44
Thanks a lot Peter!:)