Serie's datasource limited selection at runtime

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
vasile
Newbie
Newbie
Posts: 9
Joined: Thu Jun 22, 2006 12:00 am

Serie's datasource limited selection at runtime

Post by vasile » Mon Jun 26, 2006 11:50 am

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

vasile
Newbie
Newbie
Posts: 9
Joined: Thu Jun 22, 2006 12:00 am

Post by vasile » Thu Jun 29, 2006 9:13 am

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"

Post Reply