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

Message ListMessage List     Post MessagePost Message

  FinanceChart - setData - resolution?
Posted by Rehan W on Oct-30-2008 18:57
Hey Peter,

I was reading the manual and I can across the FinanceSimulator which has a resolution
variable - is there some way I can apply this to DB data (real-time) because I would like
to easily display data as 1 second, 1-min, 15-min and so on?

At present Im experimenting with doing it in mysql - but is there a ChartDirector way :)

Thanks,
Rehan

  Re: FinanceChart - setData - resolution?
Posted by Peter Kwan on Oct-31-2008 00:37
Hi Rehan,

Yes. Of course. You can apply this to a database.

Note that in your real system, you need to create the database to replace the FinanceSimulator (which is just a random number generator), and you also need to put suitable data in your database. For example, you may create separate tables in your database for records with resolution of 1 second, minute, 15 minute, etc.. Your code can then use different tables to retrieve the data depending on the time scale of the chart.

Hope this can help.

Regards
Peter Kwan