Printing a narrative based JS visualisation — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Printing a narrative based JS visualisation

Received Response
11
Views
3
Comments
Daniel Willis
Daniel Willis Rank 4 - Community Specialist

Has anyone managed to get a JS visualisation from a 3rd party library such as D3 or Kendo to print? Was looking into converting an svg into an image on the server side but wasn't getting anywhere. Using Kendo it is quite easy to allow a user to save a chart/vis as a PDF or Image but not to render it in the page.

Answers

  • Which one of the few print options you mean?

    Because exports and PDF printing will not make it as it's done by OBIEE, but HTML print must be fine as it's your browser managing it and your browser understand how to render the JS code.

  • Daniel Willis
    Daniel Willis Rank 4 - Community Specialist

    Yeah sorry forget to mention PDF. Was thinking it might also let me pull into Smartview as well. I seem to have fetish for trying to beat the system when it comes to OBIEE

  • So you really want to push OBIEE do things it doesn't like to do

    Didn't test in details but PDF printing generally understand text, basic html and probably images (real images). But it can't generate the image based on JS code for you as that's what the browser would do. So if you manage to generate a real static image you will be fine. I really wouldn't bet a lot on the ability to understand and execute JS code and that's where you will be blocked as everything would require some form of JS code.