Steema Issues Database

Note: 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.



Bug 539 - Failed to change Marks Text
Summary: Failed to change Marks Text
Status: RESOLVED NOTABUG
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 20:42 EST by elmec
Modified: 2014-01-20 10:11 EST (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elmec 2014-01-19 20:42:04 EST
The mark appear without text on it when I tried to change marks text
 using the following code .
--------------------------------
SeriesMark->Marks->Item[3]->Text->Text = "N";
--------------------------------


Teechart version : The newest one for now.
Comment 1 elmec 2014-01-19 20:43:08 EST
For the example project, go here.
http://www.teechart.net/support/viewtopic.php?f=3&t=14579
Comment 2 david berneda 2014-01-20 10:11:48 EST
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;