Tilting Char Problem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Tilting Char Problem

Post by JAP » Tue Mar 18, 2014 2:34 am

I used pages for my line graph but whenever I display an Alert Dialog or go to another activity (without finishing the activity containing the graph) and go back when go to other graph page it tilts. But before displaying and going to another activity, browsing graph pages is fine.
Attachments
WP_20140318_10_22_26_Pro.jpg
WP_20140318_10_22_26_Pro.jpg (354.25 KiB) Viewed 19055 times

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

Re: Tilting Char Problem

Post by Narcís » Tue Mar 18, 2014 9:34 am

Hello JAP,

I'm not able to reproduce the problem here. Can you please attach a simple example project we can run "as-is" to reproduce the problem here and provide information on the exact environment in which you reproduce it?

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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Tue Mar 18, 2014 11:35 am

The data is coming from an FTP server, is there a way we can do the exchange of information more private?

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

Re: Tilting Char Problem

Post by Narcís » Tue Mar 18, 2014 11:41 am

Hi JAP,

You can post your files at www.steema.net/upload or send them to narcis at steema dot com.

BTW, you don't need to include production data, you can use random test data.
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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Wed Apr 16, 2014 3:38 am

I would like to follow-up on this problem. I can't upload the project because it's too large. I uploaded in my OneDrive, where can I send the link privately?

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

Re: Tilting Char Problem

Post by Narcís » Wed Apr 16, 2014 7:23 am

Hi JAP,

You can send it to info at steema dot com referencing this thread. However, there's no need you send your production project but a simple self contained example as explained in point two here.

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

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

Re: Tilting Char Problem

Post by Narcís » Wed Apr 16, 2014 8:42 am

Hi JAP,

I have received your project. It's quite a big project and would take us a lot of time isolating charting code and being able to find where the problem might be. Moreover, I can not even compile it. I get those error messages:

Error 1 Cannot convert lambda expression to type 'Android.Content.IDialogInterfaceOnClickListener' because it is not a delegate type G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 360 44 HelloVS.Droid
Error 2 No overload for method 'insertDB' takes 8 arguments G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 398 17 HelloVS.Droid


So, could you please arrange a Short, Self Contained, Correct (Compilable), Example reproducing the issue you reported? Please follow the recomendations in the link I posted.

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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Wed Apr 16, 2014 3:19 pm

Sorry for that sir. The link to the updated project is sent to Ms. Ara of Sales, the person whom I gave the link of the initial project for this problem.

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

Re: Tilting Char Problem

Post by Narcís » Thu Apr 17, 2014 8:15 am

Hello JAP,

Thanks for the new project. Honestly, this is the smallest application you can arrange reproducing the problem? It's bluetooth activation necessary? When I click the "List FTP Directory" button I get and Unhandled exception:

System.IndexOutOfRangeException: Array index is out of range.

at the line below in the getFileListDetails at fetchFTP.cs.

Code: Select all

                DateTime formatTime = Convert.ToDateTime(splitDetails[1] + splitDetails[2]);
changing it to:

Code: Select all

                DateTime formatTime = Convert.ToDateTime(splitDetails[0] + splitDetails[1]);
I still get:

System.FormatException: String was not recognized as a valid DateTime.

Is it really necessary to use data from an FTP? From our side, real data is not necessary. It would be preferable that you used random/test data that reproduce the problem instead. Here you can find an example creating a dataset at run-time.

I also see that your project still contains an important number of classes. Please remove ALL code that is not related with TeeChart and is not essential to reproduce the problem so that we can focus on working on the issue you are experiencing instead of having to search through your project and understand it.
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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Thu Apr 17, 2014 9:24 am

I'm sorry sir about the project. I sent a link to Ms. Ara of sales for the updated project, hoping the revision satisfies your requirements :)

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

Re: Tilting Char Problem

Post by Narcís » Thu Apr 17, 2014 10:05 am

Hi JAP,

Thanks for the new project. At least I can run it now. However, I'm still unable to reproduce the problem. What I'm doing:

1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons.
4. Press the "Patient Details" button.
5. Navigate through the chart as in step 3.

Which are the exact steps I should follow to reproduce the problem?

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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Thu Apr 17, 2014 3:09 pm

Hi JAP,

Thanks for the new project. At least I can run it now. However, I'm still unable to reproduce the problem. What I'm doing:

1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons.
4. Press the "Patient Details" button.
5. Navigate through the chart as in step 3.

Which are the exact steps I should follow to reproduce the problem?
Good to hear that :)

The steps you've mentioned SHOULD re-produce the problem. Here are the steps wherein at the end I encounter the problem:

METHOD #1:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Patient Details" button.
5. Press the "Back" button of the dialog box.
5. Navigate through the chart as in step 3.

METHOD #2:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Send Feedback" button.
5. Choose the "Messaging" option
6. Press the "Just once" button
7. Press back button to go back to the chart screen of the application
8. Navigate through the chart as in step 3.

METHOD #3:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Home" button.
5. Hold the "Home" button and choose the running process of the application (or navigate through the application list and choose the application)
6. Navigate through the chart as in step 3.

I'm debugging using an Android-based smartphone by the way since the simulator is slow.

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

Re: Tilting Char Problem

Post by Narcís » Tue Apr 22, 2014 9:07 am

Hi JAP,

Thanks for the info. I'm still unable to reproduce the problem here though. Does this occur with any specific device? Could you please let us know the specifications of the device where the problem occurs? I'm using a Nexus 4 phone with Android 4.4.2.
METHOD #2:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Send Feedback" button.
5. Choose the "Messaging" option
6. Press the "Just once" button
7. Press back button to go back to the chart screen of the application
8. Navigate through the chart as in step 3.
At step 4 I already get "Messaging" option without choosing it. Then I don't understand which is the "Just once" button, I don't see anything about that. Anyway, continuing with steps 7 and 8 doesn't reproduce the problem either.

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

JAP
Newbie
Newbie
Posts: 30
Joined: Tue Sep 17, 2013 12:00 am

Re: Tilting Char Problem

Post by JAP » Tue Apr 22, 2014 9:50 am

At step 4 I already get "Messaging" option without choosing it. Then I don't understand which is the "Just once" button, I don't see anything about that. Anyway, continuing with steps 7 and 8 doesn't reproduce the problem either.
I think you only have 1 messaging app that's why. Going back to reproducing the problem, it's weird to hear that. Did you deploy it in an actual device? Should I send a video where I produce the problem on the same "sample" project I gave you?

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

Re: Tilting Char Problem

Post by Narcís » Tue Apr 22, 2014 10:02 am

Hi JAP,
JAP wrote:Did you deploy it in an actual device?
Yes, a Google Nexus 4 device with Android 4.4.2. That's why I'm asking about the specification or brand and model of the device with which you reproduce the problem. Can you reproduce the problem with different devices?
JAP wrote:Should I send a video where I produce the problem on the same "sample" project I gave you?
I think it's pretty clear how the problem should be reproduced. I wonder if one has to press the page navigation buttons many times before it occurs. Anyway, if you send the video I'll watch it and try to do the same here.

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

Post Reply