(Android) historyPos out of range
-
- Newbie
- Posts: 15
- Joined: Wed Oct 30, 2013 12:00 am
Re: (Android) historyPos out of range
Here is the same motion but outside the chart (no error).
- Attachments
-
- HistoryPosOutOfRange5.png (31.65 KiB) Viewed 13405 times
Re: (Android) historyPos out of range
Hello,
I'm not sure if this application indicates what I understand but It looks like you are just doing the following actions, I'm not sure about the order:
- OutOfRange.png: drawing a little zoom rectangle from top-left to bottom-right, inside the chart. If you stop touching the screen after doing this action, you should zoom in.
- OutOfRange2.png: drawing a little zoom rectangle from top-right to bottom-left, inside the chart. If you stop touching the screen after doing this action, you should unzoom.
- OutOfRange3.png: drawing a little zoom rectangle from bottom-right to top-left, inside the chart. If you stop touching the screen after doing this action, you should unzoom.
- OutOfRange4.png: drawing a little zoom rectangle from top-left to bottom-right, out of any chart. It should do nothing.
Are all these gestures correctly interpreted?
Are all them giving you errors?
Is the error message you are reporting the "TeeChart for Android Preview is gestopt" one we can see in the screenshots?
I'm not sure if this application indicates what I understand but It looks like you are just doing the following actions, I'm not sure about the order:
- OutOfRange.png: drawing a little zoom rectangle from top-left to bottom-right, inside the chart. If you stop touching the screen after doing this action, you should zoom in.
- OutOfRange2.png: drawing a little zoom rectangle from top-right to bottom-left, inside the chart. If you stop touching the screen after doing this action, you should unzoom.
- OutOfRange3.png: drawing a little zoom rectangle from bottom-right to top-left, inside the chart. If you stop touching the screen after doing this action, you should unzoom.
- OutOfRange4.png: drawing a little zoom rectangle from top-left to bottom-right, out of any chart. It should do nothing.
Are all these gestures correctly interpreted?
Are all them giving you errors?
Is the error message you are reporting the "TeeChart for Android Preview is gestopt" one we can see in the screenshots?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 15
- Joined: Wed Oct 30, 2013 12:00 am
Re: (Android) historyPos out of range
Hello
You are right about the pictures.
The gesture of the picture happend when i press one finger against the screen.
The error message is indeed the historypos out of range error.
Sorry for the confusion
You are right about the pictures.
The gesture of the picture happend when i press one finger against the screen.
The error message is indeed the historypos out of range error.
Sorry for the confusion
-
- Newbie
- Posts: 15
- Joined: Wed Oct 30, 2013 12:00 am
Re: (Android) historyPos out of range
edit:
Even when the zoom function is disabled it will still give the error.
I get the same error at the pie chart.
Even when the zoom function is disabled it will still give the error.
I get the same error at the pie chart.
-
- Newbie
- Posts: 15
- Joined: Wed Oct 30, 2013 12:00 am
Re: (Android) historyPos out of range
I think i have solved the problem.
I think that the problem has to do with multitouch and that your trying to call a pointer that isnt there.
This is probably an device specific problem.
Anyway the following code will propably solve the problem:
add this "if statement" to the code.
Sorry if im wrong about something as i dont have the source code.
I think that the problem has to do with multitouch and that your trying to call a pointer that isnt there.
This is probably an device specific problem.
Anyway the following code will propably solve the problem:
Code: Select all
if (event.getPointerCount() >= 2)
{
historypos = event.getX(1);
}
Sorry if im wrong about something as i dont have the source code.