Sign in to follow this  
smitab24

Problem With Configure Back Link

Recommended Posts

Hello,

 

Scenario is

I am showing chart in two different tab

1st tab : full view of chart

2nd tab : half view of chart

 

As per requirement i have to show drill data to persist on each tab.

Means, if drilled on full view then after going on 2nd chart i.e half view it should show that drilled graph.

Till this i have completed.

But, problem is when i shown that drilled chart on 2nd tab it doesn't show/configure 'Back' link.

So, i was unable to return back to parent chart.

 

On 2nd tab, it again consider as my drilled chart as parent .( which is actually child)

 

Please, suggest us how to add/configure manually 'Back' link on child chart on my next tab.

 

Thanks in advance.

 

- Smita Bhole

Share this post


Link to post
Share on other sites

Hi ,

 

Linked charts not suitable with our requirement.

 

I have created sample. Please find attached sample applicationIn this there are 2 tabs.

in 1st - Full view of chart and in 2nd half view of chart.

 

When i drill from full view then i have stored this drilled info in session so that my half view shows directly drilled data.

This is our requirement that we want to persist drilled info.

However, only issue is when we display direct drilled data then 'Back' link is not coming.

 

Please guide us how to configure 'Back' button.

Please suggest as soon as possible.

.Samplecharts.zip

Thanks in advance.

- Smita

Hi,

 

You will have to use Linked charts to suffice your requirement.

 

For more details, please refer to the link below,

http://docs.fusionch...nkedCharts.html

 

Hope this helps!

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Anuradha,

 

I have gone through your code and it seems you have not set the different DIV container for the child chart in the "configureLink()" method. So by default the linked chart will inherit the properties from the parent chart and render the child chart in the same DIV container (id: flexDiv).

 

If you need to render the child chart in the different container, in your case for DIV ID "graph1" of Tab2, you would need to configure as below:

 

Ref. Code:

myChart.configureLink([{   overlayButton:{ message: 'BACK..',},renderAt: 'graph1', }]);

 

However, if you want to click on the "Back" button of the child chart in Tab2 and willing to show the parent chart in Tab2, I am afraid, this is not possible, as the parent chart is being rendered in the DIV ID "flexDiv" which is in Tab1.

 

Hope I am able to clarify myself.

 

Hope this helps.

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