Page 1 of 1

Customize Marks Tip

Posted: Fri Apr 20, 2007 5:52 am
by 8126071
In a line graph, mark tips displays X and Y values. I want to change the tips to a different value, say for e.g. I want to display the line title instead.

How can I do that?

Thanks in Advance.

Sky

Posted: Fri Apr 20, 2007 9:55 am
by 9348258
Hi Sky

You can use the "GetText" markTips event, as below code:

Code: Select all

private void marksTip1_GetText(Steema.TeeChart.Tools.MarksTip sender, Steema.TeeChart.Tools.MarksTipGetTextEventArgs e)
        {
            e.Text = line1.Title;
        }