TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
Roger
- Newbie

- Posts: 23
- Joined: Thu Nov 11, 2004 5:00 am
- Location: Dallas
Post
by Roger » Thu Mar 17, 2005 4:12 pm
In Tee Charts when using Area Graph with multiple areas; which overlaps one area over other, the Mark Tips shows the data for the Series(0) for all the Series for area graph.
For example, I have two series with Area - Series(0) and Series(1). The Mark Tip data for Series(1) shows the data of Series(0) and Series(0) shows the data for Series(0).
How to resolve this issue with area Graph and Mark Tip.
Thanks
Roger
-
Pep
- Site Admin

- Posts: 3313
- Joined: Fri Nov 14, 2003 5:00 am
-
Contact:
Post
by Pep » Thu Mar 17, 2005 9:22 pm
Hi Roger,
yes, you're correct, it's a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
A workaround for the moment could be to get the YValue of the selected point using similar code to the following (in the OnClick event or OnMouseDown events..) and display the value using the canvas techniques or annotation tools.
Code: Select all
private void area1_Click(object sender, System.Windows.Forms.MouseEventArgs e)
{
double yval = area1.YValues[Convert.ToInt32(area1.XScreenToValue(e.X))];
MessageBox.Show(yval.ToString());
}
-
Roger
- Newbie

- Posts: 23
- Joined: Thu Nov 11, 2004 5:00 am
- Location: Dallas
Post
by Roger » Fri Mar 18, 2005 7:25 pm
I will try it and provide you with feedback.
Thanks
