PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

MigraDoc: Remove the points in line graphs
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3601
Page 1 of 1

Author:  damonbla [ Thu Jun 15, 2017 2:25 pm ]
Post subject:  MigraDoc: Remove the points in line graphs

Hi, I'm creating line graphs using MigraDoc in C# and I'm wondering if it's possible to remove the large circles that show up on the graphs for each data point. Essentially I just want the line itself. Here's an image showing what it currently looks like, and as you can see, it's tough to understand with the large circles at every point:

Image

Pretty sure I'm using the WPF version, and I've built from the source code. Looks like I'm using 1.32.

Author:  damonbla [ Thu Jul 06, 2017 1:50 pm ]
Post subject:  Re: MigraDoc: Remove the points in line graphs

Well, I managed to figure this one out myself by looking at the MigraDoc source. If anyone else comes here with this question, here's the answer:

series.MarkerStyle = MarkerStyle.None;

Easy! There are quite a few marker options, and they're all listed in an enum in the file MarkerStyle.cs.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/