Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi GUYS,
Can anyone help with object specific default selection.
I have six charts in a sheet(minimized state), but I want default selection for only three charts, when i click to other charts those selection should be cleared.
You can add alternate states to your document if you're using QV11 or newer. You can add those on the General tab of the document properties window. After creating them you can assign them to sheet objects on the General tab of the objects properties window. Selections in one alternate state don't influence selections in other alternate states or the default state. This way you can make sheet objects react only to a specific set of selections, those made in a specific alternate state.
is there any other work around for this problem?as user can not go and change the states they want us to set likewise
You can try using bookmarks. That makes it easy to save and restore selections. However if you don't use alternate states there is only one selection state (at a time) in your document and it will apply to all sheet objects.
Hi Rajashmita,
you could use triggers and actions i.e. when entering different sheets, that hold the specific charts.
e.g the trigger OnActivateSheet of one sheet could have the actions "Selection/Select in Field" with Field an Searchstring defined per field.
The OnLeaveSheet trigger could clear all selections using the action "Selection/Clear All".
Hope this helps
regards
Marco
ya Gysbert, I can use bookmark in the expression but i have that field as dimension in the chart,so it will display other values also that are not selected.
Could you please share any example how using trigger I can apply particular selection to specific charts in a sheet?
On activate sheet whatever action we apply it will be applied to all objects on that particular sheet, not specific object
Rajashmita,
Please post a sample app to help us understand your requirement better.
SK
In the above picture When I select Student as Gopi that is affecting both Charts(Mark Details and Category),But I want only one chart should have that default selection .With applying sheet trigger on open I want Student as Gopi should be selected by default for the Mark Details alone.