Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

Nprinting: HTML chart at parallel levels

Hi All,


I have created HTML report in Nprinting using images and scheduling to the managers on them outlook mail body .

My problem is that all charts are showing one by one in down side .


My requirement is I want to show that chart as parallel levels.



Current Output.

expected output.png

Expected Output

Current output.png

12 Replies
Anil_Babu_Samineni

How is your HTML content looks like i believed you use <br> for objects?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prma7799
Master III
Master III
Author

Yes..

I have used below code

<html>

<body>

<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>

                <U><FONT color="#0000FF" size="10">  </FONT></U>               

                <b> </b>                                              

                <P align="left"><img src="%%CH3020%%" alt="CH3020"></P>                 

<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>

                <U><FONT color="#0000FF" size="10">  </FONT></U>

               

                <b>                               </b>               

                <P align="Left"><img src="%%CH3021%%" alt="CH3020"></P>

               

</body>

</html>

Anil_Babu_Samineni

Try this?

<html>

<head>

<style>

     #First

     {

          Position : Relative;

          Float : Left;

          Left : 20 Px;

          Right : 10 Px;

     }

</style>

</head>

<body>

<div ID = "First">

<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>

                <U><FONT color="#0000FF" size="10">  </FONT></U>                                                     

                <P align="left"><img src="%%CH3020%%" alt="CH3020"></P>    

</div>

<div>          

<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>

                <U><FONT color="#0000FF" size="10">  </FONT></U>         

                <P align="Left"><img src="%%CH3021%%" alt="CH3020"></P>

</div>

</body>

</html>

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prma7799
Master III
Master III
Author

Hi Anil,

It is coming as parallel in Nprinting preview option only but in mail body it is not come as required.

Thanks

Anil_Babu_Samineni

Great, You can use Padding like below or change it to Right style around 30 pixel

<style>

     #First

     {

          Position : Absolute;

          Float : Left;

          Left : 20 Px;

          Right : 10 Px;

          Padding : 2px 4px 6px 8px;

     }

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prma7799
Master III
Master III
Author

Now it is totally merging ....

But what about my mail body why it is not showing in mail body

Anil_Babu_Samineni

You must use format as "HTML Text" if it is in Text / HTML File just disable and enable the HTML Text... In fact, I never used N printing in my career. So then, I learned HTML for future purpose only.. If you need any help in HTML, CSS, JS please Recommend me. I will surely help you.. And you must move this thread to N printing from current..

Note - If you feel to mark as helpful and going forward your solution resolved please close this thread.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

You could try outputting the entire sheet as an image, rather than building it in HTML.

This way, you can position the objects exactly how you want them to appear in the email.

Like below, the sheet can be inserted by right clicking on images, and then finding the sheet id

sheet html.png

Anil_Babu_Samineni

I found one simple article - How to Embed an HTML Report into the Body of an E-mail Message

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful