pjb153

Stack100Percent Not Working On Stacked Bar Chart

Recommended Posts

I thought maybe some of my attributes were not letting the 100Percent chart render correclty. But I used the sample bar graph code and it also does not render correct. It renders as a normal bar chart.. not filling every set all the way across.

 

Maybe something with the flash file? Can someone try this code and see if it renders as a 100Percent stacked chart?

 

This is the link to the sample I am trying to duplicate. Chart second row, first chart.

 

http://www.fusioncha....asp?Stacked100

 

Here is my execution code.. just like in the sample but pointing to the flash file in my folder

 

<script type="text/javascript">

var chart1 = new FusionCharts("FusionCharts/StackedBar2D.swf", "sampleChart", "550", "350", "0", "1");

chart1.setDataURL("100PStBar2D1.xml");

chart1.render("chart1div");

</script>

 

The XML I am using is the same in the sample.

Thanks...

Share this post


Link to post
Share on other sites

I sent a contact form thru the Fusion Site. I found that I downloaded the trial version of StackedBar2D.swf and it worked with 100% stacked. Of course has the evaluation tag on it.

 

So my SWF is corrupt or not the newest version. I hope they can send me the correct swf.

 

Anyone else have this issue?

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

 

Please drop us a mail quoting this forum thread at http://www.fusioncharts.com/contact/

 

Also, please try upgrading your current version to the latest one, i,e, FusionCharts v3.2.1 using the following link.

http://www.fusioncharts.com/PUC/

 

Hope this helps. :)

 

This thread has been quoted via the contact form.

 

I also tried the upgrade link, but the emails that would be associated with the purchased are not being recognized by your system. I do have our PO that was sent to us when we purchased in April of 2010.

 

Thanks.. any additional help would be appreciated.

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Thanks for the updates.

 

Could you please continue interacting with the mail thread you started using the contact form, regarding your FusionCharts sales queries here?

 

We do not recommend sharing sales related details or having discussions of the same nature on this forum.

 

You could also directly drop us a mail, quoting this forum thread, at [email protected], so that one of our sales representatives could get back to you on your query here.

 

I hope this helps.

Edited by Angie

Share this post


Link to post
Share on other sites

Hi Have Problem with stack100Percent ,

 

In IE and Crome Chart not coming while using stack100Percent in Javascript renderer but working in Flash renderer.

In Mozilla Chart not working while using stack100Percent  in both renderer 

Help me please....

Share this post


Link to post
Share on other sites

Hi,

 

We have tried using stacked charts with attribute "stack100Percent" and checked it in browsers IE,Chrome and Firefox. It seems that it works fine at our end.

 

Could you send us a sample demo which projects the issue?

 

Also, please check if you are using the latest version of FusionCharts V3.3.1. If not, you may upgrade to the latest version from http://www.fusioncharts.com/download/trials/ and test it again.

 

Awaiting your response.

Share this post


Link to post
Share on other sites

Hi ,

Thanks for ur reply

My sample code is here  i have used the version FusionCharts_XT_EnterpriseEx v3.3

 

<HTML> <HEAD>
<script type="text/javascript" src="../javascript/FusionCharts/FusionCharts.js"> </script>
<script type="text/javascript">
function getChart(resp){
var cdata = {
"caption" : "Long Short Ratio" ,
"xaxisname":"currency", 
"bgColor":"#eeeeee",
"paletteColors":"#008080,#FF0000",
"maxColWidth":"10",
"showValues":"1",
"showPercentValues":"1",
"legendPosition":"bottom",
"captionPadding":"0",
"showBorder":"0",
"maxBarHeight":"35",
"barDepth":"15",
"stack100Percent":"1",
"baseFontColor":"#FFFFFF",
"outCnvBaseFontColor":"#000000",
"toolTipBgColor":"#8FBC8F",
"decimals":"2"
}
var chartJsonData = {"chart":cdata,"categories":resp.categories,"dataset":resp.dataset };
    FusionCharts.setCurrentRenderer('javascript');
var chartref = FusionCharts('forexChart');
if(typeof chartref != 'undefined'){
chartref.setJSONData(chartJsonData);
//document.getElementById('chartContainer').innerHTML="";
$('#chartContainer').empty();
chartref.render("chartContainer");
}else{
var myChart = new FusionCharts( "../javascript/FusionCharts/StackedBar3D.swf", "forexChart", "99%", "100%", "0"); 
myChart.setJSONData(chartJsonData);
myChart.render("chartContainer");
}
}
</script>  
</HEAD>
<BODY >
<div id="chartContainer" style="float:left;width:45.5% !important;margin:0px;margin-left:0px"></div> 
</BODY>
</HTML>
 
<SCRIPT LANGUAGE="JavaScript">
var resp = {"dataset":[{"data":[{"value":""},{"value":""},{"value":""},{"value":""},{"value":""}],"seriesname":"Buy Percent"},{"data":[{"value":""},{"value":""},{"value":""},{"value":""},{"value":"100"}],"seriesname":"Sell Percent"}],"categories":[{"category":[{"label":""},{"label":""},{"label":""},{"label":""},{"label":"AUDUSD"}]}]};
getChart(resp)
</SCRIPT>
 
this sample working IE and Crome not working in Mozilla
Help me to close this issue......
Thanks a lot........
Edited by srajeshacm

Share this post


Link to post
Share on other sites

Hi,

 
The code you have attached works fine in Flash mode in the browsers IE,Chrome and Firefox as well. Please find the attached screenshot of the StackedBar3D chart taken from Firefox.
 
We are looking into the issue with JavaScript mode of the StackedBar3D chart and will update you soon about it.
 
Thanks.

post-37797-0-75956600-1367909615_thumb.png

Share this post


Link to post
Share on other sites

Hi 

 

Thanks for ur response. Yes the aboue code working in Firefox 19 and aboue only.

he same code not working in safari and opera browsers.

can u please look at this also....

Its very urgent ......

help me to close those issues also.....

Edited by srajeshacm

Share this post


Link to post
Share on other sites

Hi,

 

Apologies for the inconvenience caused.

 

The issue that you have mentioned has been classified as a bug. We are working on it and will update you soon about it.

 

Thanks.

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