Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu: {
- exportPdf: {
- text: 'Export PDF',
- icon: OrgChart.icon.pdf(24,24),
- onClick: function(){chart.exportPDF({
- extraHtml: document.getElementById('myStyles').outerHTML
- })}
- }
- },
- <style id="myStyles">
- .node{
- font-family: Helvetica;
- }
- .node.QA rect {
- fill: #ffffff;
- }
- .node.QA text {
- fill: #F57C00;
- }
- .node.Marketing rect {
- fill:#ffffff;
- }
- .node.Marketing text {
- fill: #FFCA28;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement