December 01, 2020, 12:41:24 PM

See more Support incidents in our old archived forum.

Author Topic: Printing big gantt chart is blurry  (Read 5299 times)

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 37
Printing big gantt chart is blurry
« on: January 07, 2015, 02:50:58 PM »
Hello RadianQ-Team,

I have a problem with the print function: The print result gets worse with increasing row count. The gantt chart has circa 100 rows height and the result is nearly unreadable.

Is there a way to get a better result?

Here is a part of a screenshot at 100%:


Sincerly,
Jan

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: Printing big gantt chart is blurry
« Reply #1 on: January 08, 2015, 03:28:37 PM »
Jan,

What version of our assembly are you linking to currently?

Thanks
RQ Support

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 37
Re: Printing big gantt chart is blurry
« Reply #2 on: January 12, 2015, 08:19:22 AM »
Hello,

I'm linking to version 6.5.45.0. But was also present in previous versions and has not changed.

Thanks,
Jan

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: Printing big gantt chart is blurry
« Reply #3 on: January 12, 2015, 05:13:16 PM »
Jan,

There is in fact a WPF bug, that we are unfortunately not getting much help from Microsoft to workaround, that causes bitmaps generated in memory with a longer aspect ratio (longer height, shorter width) to get this blurry effect. This in fact works much better in Silverlight. We are continuing to try to workaround this and hopefully soon have a fix.

But, there is also another scenarios where the print out could get blurry, which is when you try to print to a specific X by Y set of pages. We think that is not the case here, but just something fyi.

Thanks
RadiantQ Support

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 37
Re: Printing big gantt chart is blurry
« Reply #4 on: January 15, 2015, 09:12:55 AM »
Ok thank you for the information.
Yes, in our case we have a chart with a longer aspect ratio and are not printing to a specific set of pages.
I hope there will be a workaround soon until then I'll have to wait ;-)

Thanks
Jan

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: Printing big gantt chart is blurry
« Reply #5 on: January 19, 2015, 10:47:57 PM »
Jan,

We have now fixed this fuzzy/blurry/stretched printing issue. We will email you the new assemblies you can build against. There is a slightly different API you will have to work with too, we will provide you a sample.

Thanks for your patience.

RadiantQ Support

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 37
Re: Printing big gantt chart is blurry
« Reply #6 on: January 20, 2015, 01:26:14 PM »
Thank you! It works really great! :-)

One followup issue:
The area to the left of the gantt, where the names are displayed (CustomSourceListViewTemplate, FlexyTable), is getting resized temporarly while printing. In our case it is getting smaller and "cuts" the names.

You can also watch this behaviour "live" in the application, if you select the "XPS Document Writer"-Printer of Windows, press "Print" and keep the "Save as"-window open. Now the flexytable is resized. After closing the  "Save as"-window the flexytable will get its previous size back.

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: Printing big gantt chart is blurry
« Reply #7 on: January 21, 2015, 12:00:18 PM »
Jan,

Yes, by default, the columns get a 100px "print width" which is what you probably see happen. This was happening with our previous version too.

You can customize what 'print width' you want as follows in XAML when you define the FlexyGantt columns:

                            <fxgantt:FlexyTable.Columns>
                                <DataGridTemplateColumn Header="StartTime" gantt:GanttControl.DataGridColumnPrintWidth="120">
                                           .............
                                </DataGridTemplateColumn>
                            </fxgantt:FlexyTable.Columns>

Thanks
RadiantQ Support

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 37
Re: Printing big gantt chart is blurry
« Reply #8 on: January 27, 2015, 10:30:06 AM »
Thank you for your assistance. Works really well now. :)