0
votes

I am using TeeChart for monodroid to create a series which has click event. Please see the code below,

newChart.ClickSeries += new Steema.TeeChart.TChart.SeriesEventHandler(mealSeries_ClickSeries);

private void mealSeries_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MotionEvent e) 
    {
        DisplayMealDetails(valueIndex);
    }

however, this event is never been triggered, I tried to debug, and got this output saying "onTouchEvent: isFocusable: false, isFocusableInTouchMode: false, isFocused: false; focusTaken: false" so, i added this to my application,

newChart.Focusable = true;
newChart.FocusableInTouchMode = true;

but still cannot trigger the click event. Anybody could help? thanks very much!

1

1 Answers

0
votes

It looks like this has been broken. I have added the issue (TM63016317) to the defect list and will try to fix it for the next maintenance release.