on 12-20-2013 12:02 PM
Hi Community,
I am getting some problem in chart.
please help me for that issue i mention below.
I created a Chart, based on that member selection i did some calculation, and shown in a text box..
so while selecting other member it showing same result... (its not changing)
And when i m deselect one member its showing value....
So my Question is this there is any possibility like that clicking on a member will get value..?? (without deselecting another member)
Thanks for your help
Anshul
We are using 1.3 sp2.
I was seeing odd select behavior too. Skimming through threads.. I saw work around where you error trap the deselect.
The deselect set the filter to " " ... add in if statement to not act on deselect only on select.
This noted above in the "...will not release selected item" thread
Also mentioned, to make sure chart is set to Single Selection Mode...it defaults to inclusive.
jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sathish,
Yes when we raised an OSS message it was identified as an issue, this was partially resolved in 1.5 SP02 and the functionality now works partly as expected.
There is now a further issue that relates to clicking on the same section of a chart; the script does not fire as expected the first time, however if you navigate elsewhere and then return the script then executes multiple times with no issues. We raised a separate OSS message for this, and it should be resolved in Design Studio 1.6 SP0.
Cheers,
Phil
Hi all,
I am using Design Studio 1.5 SP0 and I am also having a similar issue; whenever you clear selection from a chart it automatically fires the onSelect script once more. Was this issue ever resolved? Even in DS 1.3 SP1?
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes this issue was resolved in DS 1.3 SP01. I am suprised that this issue is back with DS 1.5.
I would suggest you open a OSS note to SAP see what they say about it. I can guess what they would say about it. Wait for a SP01 which will come out in some period of time
What I would suggest you is that before you upgrade your DS, wait for SAP until they release an SP at least. If SAP releases something new, just wait until they release an SP and then move on. This is my experience with SAP products.
Have a nice day.
Same Problem here.... when i reload the data source from the chart where i made the selection, it reloads but keeps the same selection.
Regards,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anshul,
Your problem is not entirely clear to me:
- Are you selecting multiple values in your chart?
- What coding is present behind the OnSelect of the chart?
Kind regards,
Sjoerd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with your questions. Would be helpful to see the 'On Select' script, however his second screenshot looks like he has selected California and Colorado, and that the text element is only accounting for the first California selection, instead of the sum of both. Maybe it's a case where it's picking the first element of the selection collection which may sound buggy? All conjecture without some script tho...
Hi S.van,
no i am not selecting multiple value i m just selecting a single value and want only that calculation
like while i select California get value (amount sold + margin) for California only.
that issue about like that if i want to get another member value i have to deselect the first one.
see in 2nd screenshot i clicked on Colorado but i didn't get that value its showing California value(first selection) , but when i deselect the first value i get right value.
so my question is this first i have to select one member then deselect that then i can get 2nd value...??
Hi Anshul,
Yes. You need to deselect a chart value in order to select another and to trigger get value.
I could think of 2 workarounds -
1. Triggering a data reload along with Chart selection event.
2. Hiding and Showing the chart.
If Chart is bound to DS_1 and On Select event of chart is as below:
DS_2.setFilter(dimension, CHART_1.getSelectedMember(dimension));
Option 1:
Add the below script to it:
DS_1.reloadData();
This ensures that the data is reloaded and hence Chart is re-rendered + selection is removed from the chart. But this has a fallback that all components attached to DS_1 will be re-rendered.
Option 2:
Add the below script to it:
CHART_1.setVisible(false);
CHART_1.setVisible(true);
This ensures that the chart is hidden and shown again and hence selection is removed from the chart.
I prefer this option.
Regards,
Bharath
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.