![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Failed to change Marks Text | ||
|---|---|---|---|
| Product: | FireMonkey TeeChart | Reporter: | elmec <wave> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | critical | CC: | david, sandra |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
elmec
2014-01-19 20:42:04 EST
For the example project, go here. http://www.teechart.net/support/viewtopic.php?f=3&t=14579 I think this is not a bug.
The SeriesMarks has only one point, at index 0, not 4 points from indexes 0..3
So, this code works, replacing "3" by "0" (0= the index of the first and only point in the series)
// Tried to add a mark at index of 3 .
SeriesMark->AddXY(3, max);
SeriesMark->Marks->Item[0]->Text->Text = "N";
SeriesMark->Marks->Item[0]->Font->Size=18;
|