Hi rohit,
There are quite a number of database sample code that comes with ChartDirector. See the section "Using Data Sources with ChartDirector" for details.
There are also quite a number of sample code included in ChartDirector for CandleStick charts.
There may not be a sample code that perfectly match your combination of features. It is because ChartDirector is quite flexible, and there are unlimited ways to combine features. We are unable to provide sample code for all possible combination of features. Usually, you would need to combine the features/methods/techniques in the sample code together to create your own chart.
As a simple example, I have modified the Finance Chart (2) sample code to use data from database instead of using random numbers. The database code are based on the section in "Using Data Sources with ChartDirector". Basically, the database code just read data from the database to replace the random numbers.
Hope this can help.
Regards
Peter Kwan
|