TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
norman
- Newbie
- Posts: 82
- Joined: Fri Jan 25, 2008 12:00 am
Post
by norman » Thu Apr 09, 2009 4:12 pm
Hi,
I've noticed that if I restore my chart from session during postback using the following method (as demonstrated in the examples):
Code: Select all
Dim tmpChart As MemoryStream = New MemoryStream()
WebChart.Chart.Export.Template.Save(tmpChart)
Session.Add("tmpChart", tmpChart)
and
Code: Select all
Dim tmpChart As MemoryStream = New MemoryStream()
tmpChart = CType(Session("tmpChart"), MemoryStream)
tmpChart.Position = 0
WebChart.Chart.Import.Template.Load(tmpChart)
that some chart elements dont seem to get drawn again - in particular the arrow from the annotation to the callout (i.e. I have a number of custom annotations that are positioned above series points with a line going from the point to the annotation and although the text area gets restored the line doesn't) . Can you confirm whether this is correct?
Thanks,
Norman
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue Apr 14, 2009 7:24 am
Hi Norman,
Thanks for reporting. I could reproduce this one and I think it's a bug, which I have added to the defect list (TF02014078) to be fixed.
-
norman
- Newbie
- Posts: 82
- Joined: Fri Jan 25, 2008 12:00 am
Post
by norman » Tue Apr 14, 2009 7:32 am
Hi Narcís,
No problem. You may wish to do a more thorough check than I did. I've noticed also that the shadow setting on the annotation doesn't get retained (e.g. in my project I had them hidden however they were displayed when I restored the chart). There may be others?
Norman
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue Apr 14, 2009 7:48 am
Hi Norman,
Thanks for the information. I could reproduce this too and updated issues description.