Page 1 of 1

Missing chart elements after restoring chart from template

Posted: Thu Apr 09, 2009 4:12 pm
by 13048070
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

Posted: Tue Apr 14, 2009 7:24 am
by narcis
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.

Posted: Tue Apr 14, 2009 7:32 am
by 13048070
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

Posted: Tue Apr 14, 2009 7:48 am
by narcis
Hi Norman,

Thanks for the information. I could reproduce this too and updated issues description.