Page 1 of 1
Marks Tip(It's urgent)
Posted: Sat May 27, 2006 11:54 am
by 9640658
I have a multiple axises left axis for price and custom axis is for volume .I would like to show price value,volume value and bottom axis value in marks tip when I move the cursor over price line or over a volume bar how can I do this.
Posted: Mon May 29, 2006 9:25 am
by narcis
Hi Asad,
You can do something like in the
All Features\Welcome !\Chart styles\Standard\Line(Strip)\Interpolating line series example at TeeChart features demo, you'll find it at TeeChart's program group. You can also use MarksTip tool GetText event doing something like this:
Code: Select all
private int ValueIndex;
private void marksTip1_GetText(Steema.TeeChart.Tools.MarksTip sender, Steema.TeeChart.Tools.MarksTipGetTextEventArgs e)
{
if (ValueIndex != -1)
{
e.Text = tChart1[0].XValues[ValueIndex].ToString() + " / " + tChart1[0].YValues[ValueIndex].ToString();
}
}
private void tChart1_MouseMove(object sender, MouseEventArgs e)
{
ValueIndex = tChart1[0].Clicked(e.X, e.Y);
}