I have a problem in my program with a TChartShape.
First I create this series in my code with these instructions :
Code: Select all
TChartShape *serieTexte;
serieTexte = new TChartShape(this);
serieTexte->Active = true;
serieTexte->Visible=true;
serieTexte->Style = chasRectangle;
serieTexte->Transparent=true;
graphDetail->AddSeries(serieTexte);
Then I want to move my serie on my graph with these instructions :
Code: Select all
TChartShape *serieTexte;
serieTexte = new TChartShape(this);
serieTexte->Active = true;
serieTexte->Visible=true;
serieTexte->Style = chasRectangle;
serieTexte->Transparent=true;
serieTexte->AddXY(60,60);
serieTexte->AddXY(140,140);
graphDetail->AddSeries(serieTexte);
Do you know where is my mistake ?
Regards