Stack Empty Exception when Shadow Effect is applied TChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
gilbert
Newbie
Newbie
Posts: 1
Joined: Mon May 27, 2013 12:00 am

Stack Empty Exception when Shadow Effect is applied TChart

Post by gilbert » Wed Sep 11, 2013 12:36 pm

I want to show shadow effect on every pointers in teechart Series (Trace lines).

I do following thing in Steema.TeeChart.WPF.Styles.CustomPoint object to achieve it. Below is the code snippet for your reference.

customPoint.Pointer.Visible = plotDataSeries.ShowMarker; // if this is true then it will display pointers (Markers)


if (plotDataSeries.ShowMarkerShadow) // if this is true then it will display shadow for pointers (Markers)
{

customPoint.Pointer.BitmapEffects.Children.Add(new System.Windows.Media.Effects.DropShadowBitmapEffect() {ShadowDepth=5, Softness=2,Color=Colors.Black});

}

With this I am able to see shadow effect in the traces. But in designer applications canvas if I move mouse over the edges of the component containing TeeChart throwing exception.(Screen shot attached).
Attachments
TeeChartStackEmptyIssue.PNG
TeeChartStackEmptyIssue.PNG (92.89 KiB) Viewed 2721 times

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

Re: Stack Empty Exception when Shadow Effect is applied TChart

Post by Narcís » Thu Sep 12, 2013 8:25 am

Hi gilbert,

I'm not sure about how should I get to the issue. Could you please attach a simple example project we can run "as-is" and let us know the exact instructions we should follow to reproduce the problem 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