Flickering on IOS

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Flickering on IOS

Post by jls » Mon Oct 08, 2012 1:56 pm

Then you select a series on IOS the chart is flickering.

Is it possible to avoid this?

Jørgen

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Flickering on IOS

Post by Yeray » Tue Oct 09, 2012 1:27 pm

Hi Jørgen,

Are you reproducing this in any of the examples of the demo?
Maybe in the testing example I posted here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Tue Oct 09, 2012 1:58 pm

This sample flickers:

http://www.steema.com/files/public/teec ... g/test.htm

not always, try to click on the series in the legend.


Jørgen

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Flickering on IOS

Post by Narcís » Wed Oct 17, 2012 8:02 am

Hi Jørgen,

Some enhancements have been done to TeeChart.js and we are not able to reproduce this issue here now. I'll send you the current version, can you please check if it solves the problem for you?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Wed Oct 17, 2012 9:25 am

Now it doesn't flicker but it is not possible to select series with single tap
if you swipe over the series it is selected

Added sample chart
Attachments
rr.zip
(255.8 KiB) Downloaded 1064 times

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Fri Oct 26, 2012 12:37 pm

Any updates?

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Flickering on IOS

Post by Pep » Wed Oct 31, 2012 3:56 pm

Hi Jørgen,

this should be related with the focused html5 canvas element. In focus is not assigned, user have to tap over the object before to be able to swipe of tap over the chart Series.
The following code shows how to set a focus for specific elements :

Code: Select all

   <canvas id="camvas"
           width="500px"
           height="500px"
           tabindex="1">
   </canvas>

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Thu Nov 01, 2012 11:39 am

Changed this

<BODY onload="draw()" onresize="resize()">
<br><canvas id="canvas" style="height:90%; width: 100%; align: center;" tabindex="1";>
</canvas>
</BODY>

but that did not help.

Must I do something else to make it work?
Attachments
rr.zip
(1.58 KiB) Downloaded 1044 times

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Fri Nov 16, 2012 12:07 pm

Any idea then you will release a version that woks better on IOS?

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Flickering on IOS

Post by Pep » Mon Nov 19, 2012 5:08 pm

Hi

we're working on this version in order to improve its functionality, I've noticed that using zoom from a device does not work at all, due to the touch gestures, however, I can do a scroll at in this example (which I'm not sure if this is what you're trying to accomplish or just do a tap over the series pointer). Could you please check if it's working for you ?

You can also try to run this example which uses tap, but for the moment the tap it's not very accurate for use into the device.

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: Flickering on IOS

Post by jls » Tue Nov 20, 2012 2:30 pm

Scroll sample is ok.

This doesn't work:
http://www.steema.com/files/public/teec ... aphics.htm
It is not possible to select a series.


This work if you move you finger to the pie instead of taping it.
http://www.steema.com/files/public/teec ... ltipie.htm


Jørgen

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Flickering on IOS

Post by Pep » Thu Nov 22, 2012 2:29 pm

Hi Jørgen,

ok, we're working on these issues, gestures on devices.
We hope to have a new maintenance release available shortly.

Post Reply