Chart.getSelectedMember(dimension) default value?
I've created a simple drill function with two charts.
When a selection is made in the left chart, the right one updates different age-intervals for the selected member of the left chart.
The problem I have resides on the bottom level of the drill, when a selection is made in the left chart, the right chart will uppdate accordingly. If I make a selection in the chart which does not point to a member (AKA clicking anywhere but a bar) it updates accordingly and the no member in the left chart is selected.
But, if I make a selection that points to another member, the right chart will update it's data for the new selected member as it should but the left chart will say that two values are selected.
In the picture above, two values are selected, the right chart only presents the values for the last selected member in the left chart (as it should).
What I want:
I would like to make a check for the left chart, that if there has been a selection which has not yet been cleared, it should clear that selection before making the new one.
In other words:
if a value is already selected in the left chart, do not add the new value to the selected members, overwrite the old member with the new one.
In the Additional Properties of the first chart, in the Chart Area tab, set Selection Mode to Single. I believe this will help you achieve the functionality you require.