Page 1 of 1

TEN file import/export bug ?

Posted: Tue Nov 07, 2006 4:35 pm
by 9523619
Could you please try the following to see if you can replicate the problem:

Create a new Windows Application (VB.NET or C#.NET)

Add a tchart to the default blank form

Right click on the chart, select Edit, and add a new line series (leaving all properties as default)

Save the project

Export the chart to a ten file

Add another tchart to the form

Import the previously saved ten file into the new chart

The chart appears to have been imported successfully (but the TChart2.Series collection is empty - as though the imported series doesn't exist, even if it appears to exist 'visually')

Save and close the solution.

On re-opening the solution the second chart is empty.


I've managed to reproduce the problem in VisualStudio .NET 2003 and the latest Teechart .Net v2 build (26 October) on 2 separate machines.

Any advice would be greatly appreciated.

Many thanks,

Mike

Posted: Wed Nov 08, 2006 11:53 am
by narcis
Hi Mike,

This is a bug (TF02011879) which I've added to our defect list to be fixed for future releaes. For now, the solution is exporting and importing the charts programmatically at run-time. You'll find information on how to do that at Tutorial 12 - Exporting and Importing Charts. You'll find the tutorials at TeeChart's program group.

Posted: Wed Nov 08, 2006 12:02 pm
by 9523619
Many thanks for the reply.

Do you know if this will be fixed in v2, or will it be implemented in v3 ?

Is they a way of me periodically checking on the progress of TF02011879 ?

Posted: Wed Nov 08, 2006 12:31 pm
by narcis
Hi Mont,
Do you know if this will be fixed in v2, or will it be implemented in v3 ?
I can't tell you for sure but I think that its likely to be fixed for both versions.
Is they a way of me periodically checking on the progress of TF02011879 ?
We don't have a tracking system for the customers. However you can ask here for this issue status and we will be glad to inform you.

Posted: Wed Nov 08, 2006 2:02 pm
by 9523619
narcis wrote: We don't have a tracking system for the customers. However you can ask here for this issue status and we will be glad to inform you.
This is a big issue for us - our applications have several similar charts in a tabbed format. The performance when importing the chart layout at runtime is pretty poor (10 series on each chart - no data). It's also very time consuming to recreate every chart manually when developing the applications. Could you please give me a ballpark for a fix (1 week, 1 month, 3 months or more ?)

If it's going to take longer we may have to switch back to the ActiveX version (this feature worked flawlessly).

Many thanks,

Mike

Posted: Thu Nov 16, 2006 3:09 pm
by narcis
Hi Mike,

We have just fixed this issue for the next maintenance release which we expect to post at the client area today.

Posted: Fri Dec 01, 2006 8:56 am
by 9523619
Hi Narcis,

The latest build (2.0.2511.18117) in VB.Net2003 doesn't appear to fix the problems (but it seems to have created a new one!)

Importing a chart template at design time still doesn't work correctly (the TChart1.Series collection is empty at runtime). Saving and closing the project still results in a blank chart on reopening the project.

Now I also seem to have an additional problem - I can't export a chart at design time without getting the following message:

The following exception has occurred:
TargetInvocationException: Property accessor 'TextRenderingHint' on object 'System.Drawing.Graphics' threw the following exception: 'Invalid parameter used'

Any ideas ?

Many thanks,

Mike

Posted: Fri Dec 01, 2006 9:58 am
by narcis
Hi Mike,
The latest build (2.0.2511.18117) in VB.Net2003 doesn't appear to fix the problems (but it seems to have created a new one!)
Importing the chart at design-time works fine for me here as the series is available at the design-time editor.
Importing a chart template at design time still doesn't work correctly (the TChart1.Series collection is empty at runtime). Saving and closing the project still results in a blank chart on reopening the project.
I could reproduce this and added the defect (TF02011944) to our bug list to be fixed for future releases.
Now I also seem to have an additional problem - I can't export a chart at design time without getting the following message:

The following exception has occurred:
TargetInvocationException: Property accessor 'TextRenderingHint' on object 'System.Drawing.Graphics' threw the following exception: 'Invalid parameter used'
This is also a known problem (TF02011886) already listed on our defect list to be fixed for future releases.

Posted: Fri Dec 01, 2006 10:36 am
by 9523619
narcis wrote:Hi Mike,
Importing the chart at design-time works fine for me here as the series is available at the design-time editor.
Hi Narcis,

I have to say I'm quite disappointed with this 'fix'.

Yes, you can now edit the series in the design-time editor after importing a chart , but any changes you make aren't saved when you save the project, so this change is pointless unless you fix the other issues which were reported in my original post.

Do we have a date when a complete fix will be available ?

Many thanks,

Mike

Posted: Wed Dec 20, 2006 12:48 pm
by narcis
Hi Mike,

Sorry if we didn't test the issue fully or if we didn't understand the full problem. We have currently fixed this. We expect to have a new release available before Christmas. Please be aware at this forum for its announcement.

Posted: Fri Dec 22, 2006 1:30 pm
by narcis
Hi Mike,

FYI, we have just posted the new maintenance release at the client area.