In the equipment scheduler, the default zoom can be changed at will, but it appears that the actual zoom control on the chart has to be changed manually. Is there any way to change this through an expression or script? I have varying time frames that I would like to display data, and it would be nice to not make the user change this setting.
I am stuck with this issue too!
One solution is to reload the whole page using,
system.perspective.refresh()
Seems the component is not refreshing after changing the defaultZoom levels if set through script / expression.
Are there any workarounds, to refresh the component? or does doing any other action will refresh the component ?
I need to do this too
It seems the 'defaultZoom' parameter cannot be written or read dynamically
It is a pain for the users to re-enter his required setting every time they navigate back to the page
jrd
If it's a default settings, the component has no reason to use it after its initial load. That's what a default is. So you'd need to trigger a full reload of the component for it to take the new default into account.
What exactly do you need to do ?
Yes, it is a default setting! That is the problem!
Users need to change the zoom level at run time. I guess that is why there is a zoom selector on the component
So the user zooms to his desired zoom level.
But when he navigates to another screen, then returns to the gantt, it has defaulted back to the default zoom. He then has to re-zoom
My users complain about this.
I would like to read the zoom level on change, and store it to say a session variable. Then when the user returns to the gantt view I can restore zoom to his selected level
Hope this makes sense
so i guess the answer is no, it cant be written or read
How do I go about getting this placed on a feature/fix for future releases?