简体   繁体   中英

PDF creation with rails and ember.js

I've been researching the best way to generate a feature rich, well-designed PDF based on the analytics platform we provide to our current clients. Our stack is ember.js, ember-data, and ruby on rails. We use D3.js and rickshaw to provide advanced graphing and insight, and would like to incorporate this into our pdf generation as much as possible. After initial research, it seems like prawn has been the most highly recommended, but seems far too basic for our design purposes. Does anyone have any recommendations for something that could help here?

I would use the addin ember-js-pdf. Download the data from the server and use to define the nessary elements/steps of the pdf and then create the PDF using the addin.

Have a look at https://emberobserver.com/addons/ember-js-pdf for the details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM