Group: Forum Members
Last Active: 11 Years Ago
Posts: 33,
Visits: 1
|
Hi All,
I have a bar chart with around 200 points. And I would like to highlight some points if they go down under certain value. I am using following line of code to find a bar:
int barIndex = in_barSeries.XValues.FindValue(Convert.ToDouble(dataset.Tables[0].Rows[index]["YValue"]));
This function is working fine. But my problem is, I have all the bars with nearly same values. So, if I do a FindValue, it doesn't always finds a right bar. It finds a bar that comes first in the series with the same value.
Please help me with this problem!!
Thanks, Bhumi
|