Sign in to follow this  
Guest Rajroop

Dynamic Multiserie Graphic

Recommended Posts

Hi, First, my apologies for my basic english. :)

 

My situation is the next:

 

 

 

i work with object and classes and i worked whit singles graphics, no problem, but i try work whit a Multiserie graphic and i'cant show the datagram. my example is:

 

 

 

$strXML = "";

 

$strXML = "[chart caption = Singles V/S Married in ".$country." by City' baseFontSize='9' showValues='1' xAxisName='Singles/Married' yAxisName='City' ]";

 

//the objects and method.

 

 

 

$var_country_city=$cl_sm-]countryCity($site);

 

$k=0;

 

while ($k [ $var_country_city) {

 

$var_id_country_city=$cl_sm-]idcountryCity($site,$k);

 

$cl_sm-]obtaineData($var_id_country_city);

 

$name=$cl_sm-]showData('city'); //the name of the city

 

$singlecount=$cl_sm-]existssingle($var_id_country_city,$city); //number Singles by city

 

$marriedcount=$cl_sm-]existsmarried($var_id_country_city,$city); //number Married by City

 

?]

 

Ok, i'have data for my table:

 

 

 

CITY SINGLE MARRIED

 

zaragoza 500 900

 

madrid 1000 1100

 

coru

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts Forum. :)

Could you please try using the same number of counts in both the <catagories> and the <set> elements?

Ref.- If you are using three counts in the <catagories> element, then please try using three counts in the <set> element of both "Single" and "Married" type.

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi Basundhara!

 

im'ready. The problem's whos becouse i'closed the cicle before to end

categories&dataset

, But i can doit, Thank's so much!

Edited by Guest

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