Page 1 of 1

Serie's datasource limited selection at runtime

Posted: Mon Jun 26, 2006 11:50 am
by 9241653
Hello,

I have a dbchart, several tables and several datasources components on a form.
At design time in C++Builder IDE I have the following options when assigning the datasource for a serie:

Manual
Random
Function
Text File
Summary
Single Record
Dataset
Crosstab
XML File

If I select dataset I can select which table is the datasource for that serie.
I need to be able to change the datasource for a serie at runtime using TeeChart editor but when I go to datasource tab in designer the following options are available:

Manual
Random
Function
Text File

What should I do in order to be able to see the other options which are visible at design time?

I use TeeChart 7.07 professional and BCB6.

Thanks,
Vasile

Posted: Thu Jun 29, 2006 9:13 am
by 9241653
I have figured out how to fix it.

I had to add:

#include "EditChar.hpp"
#include "DBEditCh.hpp"
#include "TeeEditPRO.hpp"
#include "TeeSeriesTextEd.hpp"
#include "TeeDbCrossTab.hpp"

#pragma link "EditChar"
#pragma link "DBEditCh"
#pragma link "TeeEditPRO"
#pragma link "TeeSeriesTextEd"
#pragma link "TeeDbCrossTab"