cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Filter Symbol/Possibility at Charts

Alexander_Blasl
Participant
0 Kudos

Hi,

is it somehow possible to remove this filter symbol when clicking on a Chart? I want to deactivate it because I use my own filter logic via script.

BR

Alex

View Entire Topic
N1kh1l
Active Contributor
0 Kudos

Could you try the below script and see if it works. I put it oninitialisation of page

Chart_1.setQuickActionsVisibility({filter:false});

without script

with script

Br.

Nikhil

Alexander_Blasl
Participant
0 Kudos

Wow thx nikhil_1486. But I have to put these for all Charts separately? I have over 100 Charts...

N1kh1l
Active Contributor
0 Kudos

ablasl88

may be the below should do for all charts

var AllCharts = ArrayUtils.create(Type.Chart);
AllCharts = Application.getWidgets({type:WidgetType.Chart});
for (var i=0, len=AllCharts.length;i<len;i++){
AllCharts[i].setQuickActionsVisibility({filter:false});
}

Br.

Nikhil

Alexander_Blasl
Participant
0 Kudos

nikhil_1486 thx. It works, but it costs performance. Startup time 45->62 seconds. Maybe I need to refresh pause all Widgets?

N1kh1l
Active Contributor

ablasl88

setting up 100 + charts would definitely hit performance. Yeah you could try the refresh pause of all widgets and see if it helps.

Br

Nikhil