Sign in to follow this  
SergeyT

Xaxys Values Don't Render In Js In Bar2D

Recommended Posts

Hello.

 

xAxisValues renders for only last 3 vertical lines and not for first ones.

In flash there is all right. Is any way to fix it?

 

<?xml version="1.0" encoding="utf-16"?>

<chart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >

 

<set label="s1" value="16" />

<set label="s2" value="11" />

<set label="s3" value="11" />

</chart>

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please elaborate your query a bit more?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi.

Nothing special.

I make bar2d chart and give it these data.

When chart renders in flash, on xAxys I see: 0,4,8,12,16, 20

and when chart renders in javascript, on xAxys I see: 12, 16, 20

(0,4,8 - absent)

post-21266-0-19977800-1321354865_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Could you please send us the XML code to test it from our end?

 

Please confirm the FusionCharts version you are using.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

ver 3.2.2.

 

I've got simple test page like this.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<script type="text/javascript" src="/Scripts/jquery-1.4.1.js"></script>

<script type="text/javascript" src="/Scripts/FusionCharts.js"></script><script type="text/javascript" src="/Scripts/FusionMaps.js"></script>

</head>

<body>

 

 

<button value="aaa" onclick="f1()">aaa</button>

<div id="regions_chart" style="width:600px; height:300px; background-color:#a00;"></div>

 

<script language="javascript" type="text/javascript">

function f1() {

 

FusionCharts.setCurrentRenderer('javascript');

 

var chrt = new FusionCharts('/Content/Charts/Bar2D.swf', "Graph419370_5", "100%", "300", "0", "1");

chrt.setXMLData('<?xml version="1.0" encoding="utf-16"?><chart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <set label="s1" value="16" /> <set label="s2" value="11" /> <set label="s3" value="11" /> </chart>');

chrt.render("regions_chart");

}

</script>

</body>

</html>

 

--

and result is on the first picture attached.

When I don't use

' FusionCharts.setCurrentRenderer('javascript'); '

the result is correct on second picture.

 

I see trouble in javascript rendering...

post-21266-0-78759900-1322483022_thumb.jpg

post-21266-0-63771000-1322483224_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, We are unable to replicate the issue, as the code you provided is working fine from our end.

 

Please find the screenshot attached for your reference.

 

Meanwhile, please find the latest SR1 beta JS files attached for your reference.

 

You would need to copy these JS files in your charts folder.

 

Looking forward to your feedback.

post-10517-0-62969600-1323421831_thumb.png

FusionChartsSR1-beta2.zip

Share this post


Link to post
Share on other sites

Oooops, not so fast! )))

 

Our company has a licence on Fusion Charts and thats was ok. But now with these beta-scripts, "FusionCharts" signature applyes to every chart.

What am I to do?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Please note that the files provided to you are evaluation JS files having watermark "FusionCharts" on them.

 

As a licensed user, you would need to upgrade to the latest version from the link: http://www.fusioncharts.com/puc/.

 

Here, you can manage your licensed products including downloading any available upgrades.

 

Hope this helps. :)

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