I have seen several other reporting a similar problem on this forum , but I haven't seen any solution to it (other that "it should work"). I therefore hope there is a possibility for a resolution now.
Here is the situation: Using BCB 6 and TeeChart v7.06 with the following code
Code: Select all
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
Series1->FillSampleValues(50);
bitmap_ = new Graphics::TBitmap;
bitmap_->LoadFromFile("C:\\tmp\\logo60.bmp");
}
void __fastcall TForm1::Chart1AfterDraw(TObject *Sender)
{
Chart1->Canvas->Draw(5,5,bitmap_);
}
void __fastcall TForm1::Button1Click(TObject *Sender)
{
ChartPreviewer1->Execute();
}
Any ideas?