01-02-2014 06:21 PM
The StrokeThickness and StrokeDashArray properties of the LinePlotRenderer don't seem to have any effect when the parent graph is using the Raster RenderMode. Am I missing something or is this not currently supported?
They work correctly in Vector mode, but we have an unsolved performance issue there...
Thanks,
-David
Solved! Go to Solution.
01-03-2014 12:21 PM
Everything seems to be functioning as intended. That is the main difference between Raster and Vector rendering. Vector rendering will allow you to scale the size but will take more cpu usage, while raster will not allow you to scale the size. More information can be found about this in the Vector Graphics section on this Microsoft Support Page. http://msdn.microsoft.com/en-us/library/ms748373(v=vs.110).aspx
01-03-2014 01:52 PM
Are you saying it is as designed that the Raster LinePlotRenderer for the WPF Graph does not support changing the line thickness or support drawing dashed lines? We used to use the WinForms ScatterGraph; it exposed LineWidth and LineStyle properties to enable this.
I've attached a zip file with a WinForms ScatterGraph next to a WPF Graph (Raster / LinePlotRenderer). Is there not any way to make WPF Raster lines dashed and thicker than 1 pixel?
01-03-2014 02:15 PM
Vector and raster represent a tradeoff between richer functionality and better performance. Improving the performance and feature support of raster rendering is one of the main focus areas for the next Measurement Studio release, but the current release only supports 1-pixel thick solid lines and rectangular points in raster mode.
01-03-2014 05:08 PM
Thanks Paul. You're posting here may get us up and running in Raster mode. Thank you for clarifying that it didn't make it into 2013 edition of the raster LinePlotRenderer (anxiously awaiting March 2014?)
07-08-2019 03:36 PM
Just wanted to let you know that Measurement Studio 2019 added support for StrokeThickness
and StrokeDashArray
customization for graphs that use the Hardware
RenderMode
.