02-13-2014 04:28 PM - edited 02-13-2014 04:30 PM
Is there anyway to add effects to a particular graph/plot graph drawn? It doesn't look like the standard graph plot inherits any effects class properties. I see you can modify the stroke color and thickness but no support for effects.
Basically what I'm trying to achieve is add effects to a plot to make it look more "realistic" (take advantage of some of the hardware acceleration that WPF offers).
I'm trying to recreate an oscilloscope with animated controls and use reflections and blur effects to make the signal "glow" almost making it more aesthetically pleasing.
Any help on this would be great.
Solved! Go to Solution.
02-14-2014 01:46 PM
Since the built-in renderers can draw to multiple render targets, the renderers do not expose many WPF vector-specific effect options.
Instead, you can use a custom renderer to generate WPF visuals with arbitrary combinations of settings and effects, like the attached blurred line example.
02-18-2014 01:11 PM
Hey Paul,
Thanks for your response. That is actually EXACTLY what I needed. Works just fine and I can modify the polyline as needed.
Just a note, I had to make a few changes to get the example you attached to work like change the render mode to Vector. I think when it's set for auto, it'll chooses Raster for a simple line plot (which throws an exception).