Jump to content
Software FX Community

Is it possible to add watermark to the background of the chart?


Fred
 Share

Recommended Posts

That gets tricky because the Print is done in the client. There is no property that will add a background only to print. By default the chart prints with no background.

You can theoretically do this by changing the chart right before printing, then changing it back, however this may cause some flickering.

I have never done anything like this client-side, an honestly I don't know whether JavaScript has everything needed to achieve this.

Link to comment
Share on other sites

Hi Frank,

I tried both but none of them works. I don't know where to set UseMainClient.

Here is what my javascript code:

var chart1 = document.getElementById('<%= Chart1.UniqueID%>');

var chart1 = document.getElementById('<%= Chart1.UniqueID%>');

//chart1.Chart.Printer.Print;

chart1.Printer.Print;

Thanks.

Fred

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...