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).
Stack Empty Exception when Shadow Effect is applied TChart
Stack Empty Exception when Shadow Effect is applied TChart
- Attachments
-
- TeeChartStackEmptyIssue.PNG (92.89 KiB) Viewed 2723 times
-
- 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
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.
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 |
Instructions - How to post in this forum |