0

I have a Xamarin Forms Application which display a Candle Teechart. I want to do some stuff when the user zooms and unzooms the chart. Just for testing purposes, I did the following thing:

tChart1.UndoneZoom += (object sender, EventArgs e) => {
        candleSeries.UpCloseColor = Color.Blue;
};

tChart1.Zoomed += (object sender, EventArgs e) => {
        candleSeries.UpCloseColor = Color.Pink;
};

When I zoom the chart, nothing happens, but when I double tap and unzoom it, the color changes to blue. Am I doing something wrong or is the .Zoomed event not working?

4
  • Does this occur with some specific platform (iOS, Android or Windows Phone) or happens in all of them? Thanks. Commented Sep 2, 2015 at 9:11
  • My test device is an Android. I haven't tried on other platforms yet. Commented Sep 2, 2015 at 10:12
  • I also tested it on the SampleProject which comes in the Steema folder in Program Files and it doesn't work either, so the problem is not in my project. Commented Sep 2, 2015 at 10:34
  • Thanks for your feedback. This is an Android bug. Please read my answer below. Commented Sep 3, 2015 at 8:40

1 Answer 1

2

The problem is the Zoomed event is not being fired in Android applications both with Xamarin.Android and Xamarin.Forms. I have added it as a defect (bug #1287) to be fixed for future releases. There's no workaround I can think of for now.

4
  • Do you think this will get fixed soon? I ask because depending on this we have to decide if we are going to buy the teechart for xamarin forms. Commented Sep 3, 2015 at 8:45
  • There are some prioritary tasks before but we will try to fix it ASAP. I'll get back to you with an update in a few days. Commented Sep 3, 2015 at 8:51
  • 1
    @IliaStoilov we have fixed the bug. You can download evaluation test assemblies at tinyurl.com/orzahb6 Commented Sep 4, 2015 at 9:27
  • Thank you for the fast reaction. :) Commented Sep 4, 2015 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.