Sign in to follow this  
sagar21789

Funnel Chart Toggle Slice

Recommended Posts

Guest Sumedh

Hello,

 

I am working on funnel chart, I want to toggle slice after specific time interval. I reffered http://docs.fusionch...lePieSlice.html

In similar way i want to Toggle slice of Funnel

 

Is there any way to do this?

 

 

 

Hi,

 

To achieve this, you would need to call slicing function in the JavaScript's setInterval function.

 

This function will execute a function, over and over again, at specified time intervals.

Syntax:

setInterval("slicing function()",milliseconds);

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi,

 

To achieve this, you would need to call slicing function in the JavaScript's setInterval function.

 

This function will execute a function, over and over again, at specified time intervals.

Syntax:

setInterval("slicing function()",milliseconds);

 

Hope this helps.

 

 

 

Thanks,

 

Actually i Need to access the slice property of the funnel chart.

 

I have done this using json like

 

$.getJSON('Data/funnel.json', function(data) {

var rdata = {};

rdata = data;

if (slice<rdata.data.length)

{

rdata.data[slice].isSliced = "1" ;

slice++;

}else

{

slice = 1;

rdata.data[0].isSliced = "1" ;

 

}

 

//funnel chart

var funnel = new FusionCharts("Charts/Funnel.swf", "funnelId", "500", "500", "0", "1");

funnel.setJSONData(item);

funnel.render("funnel");

});

 

 

This is my slicing function which is called after 5 sec.

 

 

It works , But I want ask is there any other way to do this, like inbuilt function like Togglepieslice similar to that.

 

 

Thanks and Regards

sagar

Share this post


Link to post
Share on other sites
Guest Sumedh

Thanks,

 

Actually i Need to access the slice property of the funnel chart.

 

I have done this using json like

 

$.getJSON('Data/funnel.json', function(data) {

var rdata = {};

rdata = data;

if (slice<rdata.data.length)

{

rdata.data[slice].isSliced = "1" ;

slice++;

}else

{

slice = 1;

rdata.data[0].isSliced = "1" ;

 

}

 

//funnel chart

var funnel = new FusionCharts("Charts/Funnel.swf", "funnelId", "500", "500", "0", "1");

funnel.setJSONData(item);

funnel.render("funnel");

});

 

 

This is my slicing function which is called after 5 sec.

 

 

It works , But I want ask is there any other way to do this, like inbuilt function like Togglepieslice similar to that.

 

 

Thanks and Regards

sagar

 

 

Hi,

 

Sincere apologies for the miscommunication.

 

You cannot toggle the Pyramid data-elements.

 

However, at the time of rendering you can specify which data element has to be sliced.

 

For more information, please refer the following URL:

http://docs.fusioncharts.com/widgets/Contents/?Pyramid/XMLAPI.html

 

Also, you can animate Pyramid chart using styles. Refer the following URL for more information:

http://docs.fusioncharts.com/widgets/Contents/?Styles/Animation.html

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Sincere apologies for the miscommunication.

 

You cannot toggle the Pyramid data-elements.

 

However, at the time of rendering you can specify which data element has to be sliced.

 

For more information, please refer the following URL:

http://docs.fusionch...mid/XMLAPI.html

 

Also, you can animate Pyramid chart using styles. Refer the following URL for more information:

http://docs.fusionch.../Animation.html

 

 

 

Ok,

 

Thanks, I will checkout the links......

 

Thanks once again.

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