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

Message ListMessage List     Post MessagePost Message

  pull chart on sma period
Posted by Mark on Jun-24-2017 01:01
Attachments:
I can pull chart on sma period?
show chart only on green box, red box hidden.
img.png

  Re: pull chart on sma period
Posted by Peter Kwan on Jun-24-2017 03:20
Hi Mark,

When you call FinanceChart.setData, please provide the "extraPoints" parameter to remove the data in the red box. For example, in C#/Java, it is like:

// remove the first 20 points
myFinanceChart.setData(timeStamps, highData, lowData, openData, closeData, volData, 20);

Hope this can help.

Regards
Peter Kwan