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

Bar2D Chart with serie.LineFormat.DashStyle has no effect
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3000
Page 1 of 1

Author:  markusbischof [ Thu Dec 04, 2014 8:26 am ]
Post subject:  Bar2D Chart with serie.LineFormat.DashStyle has no effect

Hi!

We're rendering a Bar2D chart with MigraDoc. We set the LineFormat.DashStyle of a serie to "Dash", but this has no effect on the created line.

I've attached an image which shows the problem.

Are we missing something?

Code:
var series = chart.SeriesCollection.AddSeries();
series.ChartType = chart.Type;
series.Name = "title";
series.FillFormat.Color = reportSerie.Color.ToColor();
series.LineFormat.Width = 2;
series.LineFormat.Visible = true;
series.LineFormat.DashStyle = DashStyle.Dash;


Markus

Attachments:
dash.png
dash.png [ 18.03 KiB | Viewed 4685 times ]

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