gurufocus

Size And Poistion Of Canvas

Recommended Posts

Is there a way to set the size and position of Canvas directly. I know you can set them with margins. But the length of the labels affect the size of the canvas even if you set the margins.

 

Thanks!

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please send us a screenshot or any live link of your requirement?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

What I have is a general question, as we are planning for more charts. One example is here: http://www.gurufocus.com/shiller-PE.php

 

We have two charts, we hope that the canvas size is exactly the same. The two charts there have different Canvas size, even the margins are the same. The reason is because the labels on the Y-axis has different length.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, FusionCharts does not support setting directly the size and position of canvas, as of now. sad.gif

 

Please try explicitly setting common maximum values of canvasLeftMargin, canvasRightMargin, canvasTopMargin and canvasBottomMargin attributes in the <chart> element.

 

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, it is not possible to set the size and position of canvas directly without explicitly setting the margins, as of now.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

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