|
Time frame in finance chart |
Posted by Mohamed Wahab on Nov-16-2012 20:41 |
|
hello
Can we find any method to add a time frame in my chart
ex: 3m ,6m , 8m ,2y,4y,8y
we use this chart http://www.advsofteng.com/gallery_finance.html
thanks |
Re: Time frame in finance chart |
Posted by Peter Kwan on Nov-17-2012 01:37 |
|
Hi Mohamed,
To draw a 3m chart, simply pass 3 months of data to FinanceChart. To draw a 2y chart, simply pass 2 years of data to FinanceChart.
The sample code "Interactive Financial Chart" included in ChartDirector demonstrates a chart with variable time frames selectable by the user. When the selection changes, the code simply obtains the data for the selected time range, and use them to draw the chart.
So in summary, to add a time frame control, simply add a something to control your data.
Hope this can help.
Regards
Peter Kwan |
|