Hi,
We are using the pie chart in our live website for a couple of years, and our customers love it. The implementation has gotten a bit complex over time, and now I have a requirement that I'm not sure if it's doable and I wanted to ask you if it's possible what would be the best approach.
So our users can select from a list of physical entities such as factories (i'll just refer to it in short pe), and for each one they can see four or five levels of data (depending on the pe), otherwise the levels are pretty much the same type of data.
Now, suppose a user is in the 4th level and now she switches pe, they now want that the user will STAY AT THE SAME LEVEL but load new data. Now, for that level that is not problem, i can load new data from the server easily, but all the levels above it are all cached with data that is now stale. To make matters worse, the user might be coming from a four level pe and switching to a five level pe in which case there should be one more level all the way at the top.
So question is as follows, I think in general there are two ways to approach this:
when user switches pe in the 4th level, the server will actually send back ALL THE DATA for all levels above. The question is though, how do i make the pie appear in the 4th level? Is there a way to load it in a drilled-down mode? or do i need to use js to drill it 3 times??? (this will not be an option as it'll be way too visible to the user).
Re-Load the 4th level, and then as the user navigates up - make server call to re-load that parent level. Problem: what do i do when I need one additional level all the way on the top? the user won't have a way to navigate up?
I hope I made my case clear. Your assistance will be greatly appreciated.