Page 1 of 1

Tee Chart Area Graph - Mark Tips problem

Posted: Thu Mar 17, 2005 4:12 pm
by 9524848
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

Posted: Thu Mar 17, 2005 9:22 pm
by Pep
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());
}

Thanks

Posted: Fri Mar 18, 2005 7:25 pm
by 9524848
I will try it and provide you with feedback.
Thanks :)