Sign in to follow this  
Sorin

Decimalseparator For Stackedcolumn3D

Recommended Posts

Hello,

 

Why in this case, for StackedColumn3D, the attribute decimalSeparator have no effect.

Example:

 

<html>

<head>

<title>My First chart using FusionCharts</title>

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

</script>

</head>

<body>

<div id="chartContainer">FusionCharts will load here!</div>

<script type="text/javascript">

 

FusionCharts.setCurrentRenderer('javascript');

var myChart = new FusionCharts("FusionCharts/StackedColumn3D.swf", "myChartId1", "719", "300", "0", "1");

myChart.setXMLData("<chart caption='Distributie oferte contactate/necontactate din total oferte' placeValuesInside='1' showBorder='1' bgAlpha='0' canvasBgAlpha='0' showCanvasBg='1' showCanvasBase='0' canvasBaseDepth='1' canvasBgDepth='1' enablesmartlabels='1' manageLabelOverflow='1' formatNumber='1' thousandSeparator='.' decimalSeparator=',' showShadow='0' bgColor='ffffff' outCnvBaseFontColor='666666' AlternateVGridColor='ffffff' alternateHGridColor='ffffff' divLineColor='d3e7f3' vdivLineColor='d3e7f3' baseFontColor='666666' PBarBgColor='B1D1DC' areaBgColor='ffffff' areaBorderColor='7EB7C7' stack100Percent='1' showPercentValues='1' showAlternateVGridColor='1' alternateVGridAlpha='25' showAlternateHGridColor='1' canvasBorderThickness='2' borderAlpha='50' areaBorderThickness='2' areaAlpha='50' anchorAlpha='100' animation='1' showNames='1' showValues='1' formatNumberScale='100' decimalPrecision='2' limitsdecimalPrecision='1' divlinedecimalPrecision='2' adjustDiv='1' baseFontSize='9' chartTopMargin='10' chartRightMargin='17' chartBottomMargin='5' chartLeftMargin='5' divLineAlpha='100' howAboutMenuItem='1' PBarLoadingText='Graficul se incarca...' XMLLoadingText='Se incarca datele...' ParsingDataText='Se citesc datele' ChartNoDataText='Date inexistente' RenderingChartText='Randare grafic' LoadDataErrorText='Eroare la incarcarea datelor' InvalidXMLText='Date XML invalide' labelDisplay='WRAP' exportEnabled='1' exportAtClient='0' exportAction='download' exportHandler='FCExporter.aspx'><categories><category label='Octombrie 2011' /><category label='Noiembrie 2011' /><category label='Decembrie 2011' /></categories><dataset seriesName='Contactate'><set value='36.20' /><set value='37.56' /><set value='24.05' /></dataset><dataset seriesName='Necontactate'><set value='63.80' /><set value='62.44' /><set value='75.95' /></dataset><styles><definition><style type='font' name='CaptionFont' color='66A0C4' /></definition><application><apply toObject='caption' styles='CaptionFont'/></application></styles></chart>");

myChart.render("chartContainer");

 

</script>

 

</body>

</html>

 

Thanks.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Please find the modified code below:

 

<html>
<head> 
<title>My First chart using FusionCharts</title>	
<script type="text/javascript" src="FusionCharts/FusionCharts.js">
</script>
</head> 
<body> 
<div id="chartContainer">FusionCharts will load here!</div> 
<script type="text/javascript"> 

FusionCharts.setCurrentRenderer('javascript');
var myChart = new FusionCharts("FusionCharts/StackedColumn3D.swf", "myChartId1", "719", "300", "0", "1");
myChart.setXMLData("<chart caption='Distributie oferte contactate/necontactate din total oferte' placeValuesInside='1' showBorder='1' bgAlpha='0' canvasBgAlpha='0' showCanvasBg='1' showCanvasBase='0' canvasBaseDepth='1' canvasBgDepth='1' enablesmartlabels='1' manageLabelOverflow='1' formatNumber='1' thousandSeparator='.' decimalSeparator=',' showShadow='0' bgColor='ffffff' outCnvBaseFontColor='666666' AlternateVGridColor='ffffff' alternateHGridColor='ffffff' divLineColor='d3e7f3' vdivLineColor='d3e7f3' baseFontColor='666666' PBarBgColor='B1D1DC' areaBgColor='ffffff' areaBorderColor='7EB7C7' stack100Percent='0' showPercentValues='0' showAlternateVGridColor='1' alternateVGridAlpha='25' showAlternateHGridColor='1' canvasBorderThickness='2' borderAlpha='50' areaBorderThickness='2' areaAlpha='50' anchorAlpha='100' animation='1' showNames='1' showValues='1' formatNumberScale='1' decimalPrecision='2' limitsdecimalPrecision='1' divlinedecimalPrecision='2' adjustDiv='1' baseFontSize='9' chartTopMargin='10' chartRightMargin='17' chartBottomMargin='5' chartLeftMargin='5' divLineAlpha='100' howAboutMenuItem='1' PBarLoadingText='Graficul se incarca...' XMLLoadingText='Se incarca datele...' ParsingDataText='Se citesc datele' ChartNoDataText='Date inexistente' RenderingChartText='Randare grafic' LoadDataErrorText='Eroare la incarcarea datelor' InvalidXMLText='Date XML invalide' labelDisplay='WRAP' exportEnabled='1' exportAtClient='0' exportAction='download' exportHandler='FCExporter.aspx'><categories><category label='Octombrie 2011' /><category label='Noiembrie 2011' /><category label='Decembrie 2011' /></categories><dataset seriesName='Contactate'><set value='36.20' /><set value='37.56' /><set value='24.05' /></dataset><dataset seriesName='Necontactate'><set value='63.80' /><set value='62.44' /><set value='75.95' /></dataset><styles><definition><style type='font' name='CaptionFont' color='66A0C4' /></definition><application><apply toObject='caption' styles='CaptionFont'/></application></styles></chart>");
myChart.render("chartContainer");

</script> 

</body> 
</html>

 

Please find the screenshot attached for your reference.

 

Hope this helps.

post-10517-0-75354000-1326881328_thumb.png

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