on 2020 Jul 05 2:30 PM
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi
Please use FEED.TITLE
Thanks,
Saurabh S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Saurabh,
Thanks for your response.
I have written the below code in Dropdown_onSelect()
if(this.getSelectedKey()==='COUNTRY')
{
Chart_Country_View.removeDimension('REGION', Feed.Title);
Chart_Country_View.addDimension('COUNTRY', Feed.Title);
}
else if(this.getSelectedKey()==='REGION')
{
Chart_Country_View.removeDimension('COUNTRY', Feed.Title);
Chart_Country_View.addDimension('REGION', Feed.Title);
}
But still it is throwing error "Something went wrong. The system could not add the dimension"
Regards,
Megh
Hi
1. Can you please add a console.log and check where it is getting failed in which if condition
2. After you run the application try to change the drop down, and check the code again.
I tried from my side also it is working fine,
the above error will come when we are unable to remove the dimension from the chart and we are trying to add new dimension in the same place.
Thanks,
Saurabh S.
Hi Saurabh,
Thanks a lot the solution worked. Actually, there was a small technical fault due to which it didnt worked the last time.
Thanks once again. 🙂
Regards,
Megh
User | Count |
---|---|
31 | |
15 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.