Outline missing when saving as image


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Fred on 6th September 2013
Hello,

I have a problem when I want to save the image. it does not keep black outline. It is transparent.

I do not understand .....

normal:
www.mitis.biz/1.gif

mode save picture
www.mitis.biz/2.gif


sniiiiffff
Posted by RGraph support on 6th September 2013
Hi there,

By default the canvas is transparent - so you can clear the canvas before you draw anything:

RGraph.Clear(canvas, 'black');

If you use dynamic features you may also need to add an onbeforedraw event:

myBar.onbeforedraw = function (e, obj)
{
     RGraph.Clear(canvas, 'black');
}


Richard, RGraph Support

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site
Posted by Fred on 7th September 2013
thank you for this information, but at the onset of the 'tooltips' it back to being white ....... arffff



www.mitis.biz/line-click-event.html
Posted by Fred on 7th September 2013
no solution?
Posted by RGraph support on 9th September 2013
Hi there,

Like I mentioned - if you use dynamic features you'll need to use the onbeforedraw event to clear the canvas. You could also try adding a little CSS to the canvas tag - it might be easier:

style="background-color: white"

And if you need weekend support or out-of-hours support you'll need to buy the Priority Support or the 5/10 developer license - details here:

   www.rgraph.net/support
www.rgraph.net/license#five-developer
www.rgraph.net/license#ten-developer



Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply

 




« Back to message list
RGraph on social media