Clicked method not working on Axis when using Polar Series
Posted: Wed Oct 04, 2006 7:49 am
Hi,
I can't get the Clicked method to return true on the horiz/vert axis of a Polar Series.
At first I thought it had something to do with the coordinates of the point I passed as an argument (offset, wrong relative reference), but even when I added code that scans for a point that returns true, this will never happen:
I simply added one polar series to the chart and I'm using a non-3D orthogonal chart.
If I replace the polar series with a line series (or sth. else), it works perfectly and the output shows all the valid pixel coordinates for the Clicked method.
Regards
I can't get the Clicked method to return true on the horiz/vert axis of a Polar Series.
At first I thought it had something to do with the coordinates of the point I passed as an argument (offset, wrong relative reference), but even when I added code that scans for a point that returns true, this will never happen:
Code: Select all
// This will scan a grid of [1000,1000] pixels.
for (int i = 0; i < 1000; i++)
{
for (int j = 0; j < 1000; j++)
{
if(tChart1.Series[0].GetHorizAxis.Clicked(i, j))
{
Console.WriteLine("Found: "+i+", "+j);
}
}
}
If I replace the polar series with a line series (or sth. else), it works perfectly and the output shows all the valid pixel coordinates for the Clicked method.
Regards