Markstip working differently after updating?
Posted: Thu Sep 25, 2008 1:06 am
Hi,
I've just updated my TeeChart .Net V3 to 3.5.3187.15584 and my MarksTip function no longer works as it was previously.
My original Markstip function was setup as shown below and was based on advice from http://www.teechart.net/support/viewtop ... highlight= (see Edu's post on 11-May-07). Basically, I wanted to get MarksTip to use a different label for the CrossPoint. Prior to the update, I was getting the correct label but after the update, all the labels were identical.
The full code is quite long, so here's a bits and pieces of it.
Please advise. Thanks.
I've just updated my TeeChart .Net V3 to 3.5.3187.15584 and my MarksTip function no longer works as it was previously.
My original Markstip function was setup as shown below and was based on advice from http://www.teechart.net/support/viewtop ... highlight= (see Edu's post on 11-May-07). Basically, I wanted to get MarksTip to use a different label for the CrossPoint. Prior to the update, I was getting the correct label but after the update, all the labels were identical.
The full code is quite long, so here's a bits and pieces of it.
Code: Select all
private Steema.TeeChart.Styles.Line exportLine;
private int on_ExportLines;
marksTip.GetText += new Steema.TeeChart.Tools.MarksTipGetTextEventHandler(marksTip_GetText);
void marksTip_GetText(Steema.TeeChart.Tools.MarksTip sender, Steema.TeeChart.Tools.MarksTipGetTextEventArgs e)
{
if (on_ExportLines != -1 && exportLine != null)
{
e.Text = exportLine.Labels[on_ExportLines];
}
}
private void tChart1_MouseMove(object sender, MouseEventArgs e)
{
if (tChart1.Series.Count > 0)
{
if (exportLine != null)
{
on_ExportLines = exportLine.Clicked(e.X, e.Y);
}
}
}