Sign in to follow this  
DSobolewski

Useroundedges And Canvasbordercolor

Recommended Posts

Hello

 

When I use the option useRoundEdges=1 then stop working all the parameters related to the border canvas area. I can not set the canvas border color, transparency and thickness.

Is there a way to circumvent this problem?

 

Best Regards

 

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

When you plot the columns with rounded edges, shadow is applied to them by default and showShadow attribute doesn't work anymore. If you want to remove shadow from this mode, you'll have to over-ride the shadow with a new shadow style (applied to DATAPLOT) with alpha as 0.

 

Plot fill properties like gradient color, angle etc. wouldn't work anymore, as the colors for gradient are now calculated by the chart itself.

 

Plot border properties also do not work in this mode. Also, you cannot render the border as dash in this mode.

 

More details at: http://www.fusioncha...c/DataPlot.html

Hope this helps.

Share this post


Link to post
Share on other sites

With hints managed to perform a substitute canvas frame of a specific color.

Thank you very much for your help.

This is the result code:

if ($v_useRoundEdges == 1) {
$FC->defineStyle('myBorderCanvas','shadow','quality=1;strength=4;distance=0;blurX='.(2 * $v_canvasBorderThickness).';blurY='.(2 * $v_canvasBorderThickness).';alpha='.$v_canvasBorderAlpha.';color='.$v_canvasBorderColor.';');
$FC->applyStyle('CANVAS','myBorderCanvas');
}

:)

Edited by DSobolewski

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this