Can't get marks to display
Posted: 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 ?
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 ?