We are able to reproduce the issues. It’s an issue with Printing DropShadowEffect in .Net Framework 4.0 WPF App. It works well in .Net 3.5.
This issue can be easily reproduced in a WPF 4.0 app without using Visifire.
-----------------------------------Test Case-------------------------------------
XAML<Grid MouseLeftButtonUp="PrintMe_MouseLeftButtonUp" x:Name="PrintMe" Background="Red" Height="40">
<Canvas Background="White" Width="344" Height="22">
<TextBlock> asdadasd</TextBlock>
<Canvas.Effect>
<DropShadowEffect BlurRadius="4" Direction="315" RenderingBias="Performance" />
</Canvas.Effect>
</Canvas>
</Grid>
C#private void PrintMe_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
PrintDialog dialog = new PrintDialog();
if (dialog.ShowDialog() != true)
{ return; }
dialog.PrintVisual(PrintMe, "Test Print");
}--------------------------------------------------------------------------------------
1. there are 3 series but only 2 are printed. The missing one is a horizontal line with 2 data points.
4. legend is partially printed.
So in this case I suggest you to set ShadowEnabled="False" in
Legend,
PlotArea,
DataSeries.
Example:<vc:Chart>
<vc:Chart.PlotArea>
<vc:PlotArea ShadowEnabled="False"></vc:PlotArea>
</vc:Chart.PlotArea>
<vc:Chart.Legends>
<vc:Legend ShadowEnabled="False" HorizontalAlignment="Center"></vc:Legend>
</vc:Chart.Legends>
</vc:Chart>
2. chart title is partially printed.
3. Y axis title is partially printed.
Please download the latest version 4.5.5.0 from
here and let us know your feedback.
Regards,
Mac