[solved] Problem with a TChartShape
Posted: Fri Aug 31, 2007 10:36 am
Hi,
I have a problem in my program with a TChartShape.
First I create this series in my code with these instructions :
In run time i can see this my serie.
Then I want to move my serie on my graph with these instructions :
And here is the problem, i can't see my serie even so my axis scales are correct. the serie has disappear.
Do you know where is my mistake ?
Regards
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