davidoff

Problem of display with: PYAxisName and SYAxisName

Recommended Posts

I load since my file fla your code of the file: Col3DLineDY.xml who is:

 

<chart palette='1' caption='Sales' shownames='1' showvalues='0' numberPrefix='$' sYAxisValuesDecimals='2' connectNullData='0' PYAxisName='Revenue' SYAxisName='Quantity'  numDivLines='4' formatNumberScale='0'>
<categories>
<category label='March' />
<category label='April' />
<category label='May' />
<category label='June' />
<category label='July' />
</categories>
<dataset seriesName='Product A' color='AFD8F8' showValues='0'>
<set value='25601.34' />
<set value='20148.82' />
<set value='17372.76' />
<set value='35407.15' />
<set value='38105.68' />
</dataset>
<dataset seriesName='Product B' color='F6BD0F' showValues='0' >
<set value='57401.85' /> 
<set value='41941.19' />
<set value='45263.37' />
<set value='117320.16' />
<set value='114845.27' dashed='1'/>
</dataset>
<dataset seriesName='Total Quantity' color='8BBA00' showValues='0' parentYAxis='S' >
<set value='45000' />
<set value='44835' />
<set value='42835' />
<set value='77557' />
<set value='92633' />
</dataset>
</chart>

but the display of: PYAxisName and SYAxisName do not work (look my image joined please) , there is nothing, here is my actionscript code of my file fla:

 

#include "com/fusioncharts/includes/LoadingFunctions.as"

#include "com/fusioncharts/includes/AppMessages.as"

//import com.fusioncharts.core.charts.MSColumn3DLineDYChart;

import com.fusioncharts.core.charts.MSCombiDY2DChart;

 

 

//----------------------------//

var myXML:XML = new XML();

myXML.load("Col3DLineDY.xml");

 

myXML.onLoad = function() {

renderChart();

};

function renderChart() {

var c1:MovieClip = this.createEmptyMovieClip("Chart1", 1);

var chart1:MSCombiDY2DChart = new MSCombiDY2DChart(c1, 1, 900, 400, 52.5, 170, false, "EN", "noScale");

chart1.setXMLData(myXML);

chart1.render();

}

 

 

I also tried with yAxisName, but that does not work either. PLease Help me

 

Share this post


Link to post
Share on other sites

I have no problem with yAxisName, but with PYAxisName='Revenue' and SYAxisName='Quantity'

 

I tried all the same to integrate a block of dynamic text but that does not work all the same.

 

Look, please, at the image which I joined you in the first topic

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