Page 1 of 1

Stack Empty Exception when Shadow Effect is applied TChart

Posted: Wed Sep 11, 2013 12:36 pm
by 16066035
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).

Re: Stack Empty Exception when Shadow Effect is applied TChart

Posted: Thu Sep 12, 2013 8:25 am
by narcis
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.