Sign in to follow this  
Guest Madhumita

Gantt chart - Height

Recommended Posts

I want my gantt chart should adjust height as per content displayed. It should adjust as per the no of rows (ResourceNames) displayed in it.

When I gave fixed height, chart displayed as per height given, However when I gave 100% height, chart did not display at all. I have given below my syntax.

 

Please advice.

return FusionCharts.RenderChartHTML("FusionCharts/Gantt.swf", "", sbChartXML.ToString(), "myNext", "100%", "100%", false, false);

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

The chart does not adjust its height and width(when given in percentage) as per the contents of the chart.The chart will take the width and height (in percentage) available in it's parent container. For example, if it's contained directly in

, it will take 100% width and height of the entire page. If it's contained in a table, it will take 100% width and height of that table cell.

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