The document you posted contains no data and thus no data model, so it's impossible to tell you if you can optimize anything. Try reading this discussion and document:
Thanks for the links. I am actually looking to present the charts in user interface in a better way. What i mean is, i think putting charts in container or minimizing the charts are good for performance as we will be showing only few charts at one time.
So based on the example app i provided, what i can do, to present few charts?
I think that showing or not showing charts is not going to make much of a difference performance-wise - but there is a possibility:
- I assume that, depending on the user's selection (depending on what the user is interested in), only some of those
charts are needed.
=> Add to each of the charts a "condition for recalculation" that is identical to your visibility_condition.
Unfortunately you cannot track which of the tabs in a container is currrently active, thus you cannot make recalculation of the charts dependent on that - but you can put the charts all on top of each other, with different visibility_conditions, based on a variable. You can create buttons to control that variable.