I am using kibana 4.5 .I am using phantomjs to generate reports .phantom js version 2.1. When i run the app in development mode (npm start) , I see that all the contents(graphs and tables) are printed to pdf. But once i create a binary of the app(npm run build) and then try to print to pdf,I see that all the graphs gets printed but not the tables. This is the related html code:
<div ng-style="{'height': type=='table' ? '100%' : '575px',width:'1150px' }"
class="ng-scope ng-isolate-scope" style="height: 100%; width: 1150px;">
<div ng-style="{'overflow-y': printReport ? 'hidden' : 'auto',height: printReport ? '100%' : '1px' }"
style="overflow-y: hidden; height: 100%;">
<!-- code to display tables or graphs goes here -->
</div>
</div>
Adding to this,
In the above code,When I define the height in 'px' (say 1000px) all content are printed (both in case of binary and development server).
In the above code, When i use percentage for height( used 100% in this case) tables are not printed in the report. The same code is being used when development server or binary is being run, But tables are not printed while binary is used.