Dashed lines

Jul 15, 2010 at 2:43 PM

Hi,

this is an easy question. How do I create a black dashed line in a ChartPlotter?

Thank you!

G

Jul 15, 2010 at 9:47 PM

The wpf Pen (as used by ChartPlotter) has a DashStyle property. You just need to set this to an appropriately constructed DashStyle object.

The sample "MarkersSample" in the D3 solution includes a dotted line but this could easily be changed to a Dashed line.