hi,
Is there a way to figure out which X axis label was clicked by the user.
I need to recognise which data point on the chart that x axis corresponds.
Thanks,
bp
Thanks, it got me all the way there...
This is loosely related (I was wanting to identify the label clicks so I could manually display tooltips using the UltraWinTooltip control) - but the logic is similar, and you will atleast be able to identify clicks/mouse overs on labels.
http://forums.infragistics.com/forums/t/24452.aspx
The problem will be that unless there is something in the label string itself that is unique, you may not be able to link that back to the datapoint itself. You can't even distinguish programmatically between X and Y axis labels...sigh (well, this is chart dependent - I could because the X axis values were percentages - so I looked for % in the label strings).
IAC, this might get you halfway there?
Is there anything in the latest version that helps with this?
Mark
Can you please suggest any work around if possible to identify click on X axis labels.
From this link http://forums.infragistics.com/forums/t/4740.aspx I observed there is something called PCaps.HitTest (not sure if it helps) for each text primitive. I tried the code sample presented but it fails as it treats every primitive same because the row and column values are always coming as -1 during that event.
Thanks