Sign in to follow this  
excelsystems

Label Text Gets Cut Off

Recommended Posts

Hi,We use FusionCharts in two of our products and the following issue was confirmed using both.

For line chart, the text of the the last label gets cut off. 2D bar chart has a similar issue.

Attached screenshots show this.

 

Thanks,

Yuval

post-29004-0-99274700-1348615004_thumb.png

post-29004-0-10893200-1348615039_thumb.png

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Please share the XML data for both the charts.

 

Let us also know the version of FusionCharts suite that you are currently using.

 

Also, let us know the chart height and width in pixels.

Share this post


Link to post
Share on other sites

Fusion Charts XT 3.3.0, javascript version.

We have a similar issue. Initially we used a workaround to display the label, but we've since rolled back to 3.2.3-sr1.5347 due to a different (fatal) flaw with updateChart.

 

I've found that the last label is actually generated but has style: display="none" on it. It will start to display with a width over 720px, but that's too wide for us to use and it really should be able to fit with the space it has.

 

We found a workaround, by taking the DrawComplete event and making every text element within the chart DIV visible.

 

jQuery("#chartcontainer").bind( "fusionchartsdrawcomplete", function (e, args) {
   jQuery("#chartcontainer").find("text").css("display","block");
});

 

I've attached a very simple html file with test data that reproduces this. It needs the js files from FusionCharts XT in a directory 'js' to work. Or just change the script references at the top.

 

Versions used:

3.3.0-release.18700

3.3.0-release.18739

missing_label_FusionCharts.zip

post-40157-0-06773400-1364308616_thumb.png

Edited by jalex19100

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

We are looking into this issue.

 

We will update you as soon as possible.

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

This issue has been tested and replicated from our end.

 

We are working on it.

 

Further any updates on this, we will keep you posted.

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