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 ?
Can't get marks to display
Re: Can't get marks to display
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.
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.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Can't get marks to display
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.
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 |
Instructions - How to post in this forum |