Export to PDF not working

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

thomasdr wrote at 2013-10-24 20:07:

I am having a problem exporting plots to a PDF.
When I export, the tick marks and the data series are not output.
I ran the Export Examples from the newest OxyPlot (2013.2.106.1) they act the same way. Any suggestions?

thomasdr wrote at 2013-10-25 13:59:

Well, I think I found the problem. In PdfRenderContex there is this code segment:
        if (stroke.IsVisible() || thickness <= 0)
        {
            return;
        }
If I change that to
        if (!stroke.IsVisible() || thickness <= 0)
        {
            return;
        }
my plot lines draw.

objo wrote at 2013-10-25 22:29:

Thank you! I have submitted the fix.