Page 1 of 1

Can't get marks to display

Posted: Sun Nov 03, 2013 6:32 am
by 9236183
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 ?

Re: Can't get marks to display

Posted: Mon Nov 04, 2013 3:12 am
by 9236183
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.

Re: Can't get marks to display

Posted: Tue Nov 05, 2013 10:41 am
by narcis
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.