jOrgChart icon indicating copy to clipboard operation
jOrgChart copied to clipboard

Print Option For The Chart

Open hudhaifa93 opened this issue 10 years ago • 7 comments

Will I be able to print the whole chart which i have dynamically made.??

thanks in advance

hudhaifa93 avatar Aug 18 '15 08:08 hudhaifa93

Did you resolve this issue? can you share please?

Anjan-Inspheris avatar Jan 08 '16 09:01 Anjan-Inspheris

not yet. only the visible area of the chart is able to print.

hudhaifa93 avatar Jan 08 '16 09:01 hudhaifa93

If we keep the chart inside a overflow scroll div and then make it print?

Anjan-Inspheris avatar Jan 08 '16 09:01 Anjan-Inspheris

even then we will need to scroll manually and call the print option again.

hudhaifa93 avatar Jan 08 '16 10:01 hudhaifa93

Hi @hudhaifa93 @Anjan-Inspheris .OrgChart is derived from jOrgChart. It provides an option "exportButton" to help users to export orgchart as a png picture. Hope this feature can save your development efforts. This is a demo related to printing chart. Good luck! :blush: screen-capture

dabeng avatar May 08 '16 14:05 dabeng

@dabeng Export working only with visible part of the chart container, if we enable Zoom feature. Can't we get full chart (whatever is on Chart container ) even if we enable options 'pan': true, 'zoom': true Any work around for this ?

Mmannem avatar Oct 04 '16 14:10 Mmannem

you can use html2Canvas,

and put the canvas inside div, when print remove all css that overflow, after print , apply them again.

hope this useful.

ref to #58

KingGeneral avatar Mar 14 '17 07:03 KingGeneral