Marks Tip(It's urgent)
Marks Tip(It's urgent)
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.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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:
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);
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |