Abk092

Adding Custom Button Within Chart

Recommended Posts

Hi,

I am having a requirement of adding a custom button, which enables user to call a javascript function for a specific task.

I am using java in application.

i can cont add it with html / javascript because the chart is rendered on runtime, and its position is dynamic.

Is there something i can use as in linked chart 'Back' button, like a property in its xml format.

I want that kind of button, on a chart which i render first time, not a linked chart.

PS: I am a newbie to fusion. :rolleyes:

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

Please find a sample workaround attached for your reference.

 

Hope this helps.smile.gif

closeButton.zip

Share this post


Link to post
Share on other sites

Thanks, It worked .

But It is not working with fusionwidgets, I am using fusionwidgets , as i have to get live data feed using feedData() method.

I tried the above thing with FusionCharts, It worked pretty well withouth changing anycode.?

Am I wrond somewhere? I am getting 'Object doesnt support this function' error.

 

Or Can I use FeedData method in FusionCharts also, because when i use it with fusioncharts, this method is not supported.

 

Take care

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, FusionCharts does not support the feature you are looking for, at this time.

 

We have taken a note of your request here and added the same in our wishlist.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites

Thanks Angshu

So It means I cant use this custom button example with fusionwidgets ?

is it the API lacking for fusion widgets?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please note that you can always add a custom button to chart, but the APIs can not be interchanged.

 

Means APIs for FusionCharts only work for FusionCharts and APIs for FusionWidgets only work for FusionWidgets.

 

Updated APIs for FusionWidgets will be available in our future upgrades.

 

Hope this helps.smile.gif

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