Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Extra lines around the nodes during printing for Tree diagram

$
0
0

@sangeetaarora21 wrote:

Hi,
I have created a diagram using a treemapper sample. Now, I want to print this diagram. For printing, I have used the following code:-

var pageClone = $('.rating_report').clone();
var pageHtml = pageClone.html();
var svg = myDiagram.makeImage({scale : 2});

pageHtml = $('.panel_heading_strategy_title').html()+$('#header_comment_data_content').html()+svg.outerHTML+$('#footer_comment_data_content').html();

Then I am using this pageHtml to create its PDF for printing. I am getting the following result which showing the extra lines around the node. Please check the sreen:-

My original page is

So, can any one please suggest how I can achieve the desired result?

Also, how I can make the tree on the center of the page during printing? Currently this is left aligned.

Thank you.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles