Can't get marks to display

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Can't get marks to display

Post by bdw » Sun Nov 03, 2013 6:32 am

Hello,

I'm using the latest VCL Beta and I have TPointSeries that gets created dynamically similar to the following :-

marks_ = new TPointSeries(graph_);
graph_->AddSeries(craneName_);
marks_->Title = "Title";
marks_->SeriesColor = clRed;
marks_->Pointer->Style = psTriangle;
marks_->Pointer->InflateMargins = false;
marks_->Marks->Visible = true;
marks_->Marks->Style = smsLabel;
marks_->Marks->Transparent = true;
marks_->Marks->Font->Color = claBlack;

And marks_->AddXY(X, Y, "what", clRed);

I see the mark callout displayed but no text is visible in the text area. If I use the TChartEditor to then look at the series I can't seem to get the text to show until I click on the Gallery option and select anything other than the Default.

I must be missing something simple here ?

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Re: Can't get marks to display

Post by bdw » Mon Nov 04, 2013 3:12 am

I have found the issue relates not to the above code example but when I try to change the mark values later on in the code.

It seems this aspect of the code no longer works, for example :-

point_->Marks->Item[index_]->Font->Color = color_;

or

point_->Marks->Item[index_]->Visible = true;

Accessing anything to do with the marks seems cause the text to be transparent, I'm not at all sure why.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Can't get marks to display

Post by Narcís » Tue Nov 05, 2013 10:41 am

Hi bdw,

I can not reproduce the problem here. We will be glad to look at the issue if you can provide a simple example project we can run "as-is" to reproduce the problem here.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply