Custom Interactive Filter not filtering pie charts on a dashboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019 06:46 AM
I have created a simple custom interactive filter based on the incident table. This will filter the assignment group in the pie chart to Database if i click the Database-button.
Even though I have set the pie chart to 'Follow interactive filter' it's not getting filtered. However, if I change a setting in the "Edit Widget" setting for the pie chart, it will start getting filtered based on the custom interactive filter.
If I refresh the dashboard, the pie chart will not get filtered by the custom interactive filter before I do "any" change in the "Edit Widget" again.
Seems like this is a problem for pie charts and not for column charts.
Anyone know how this can be fixed?
Dynamic content script:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<script>
var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");
</script>
Example of a filter, that generates a static filter on 'incident' table reports, or remove it <br/>
<input id="allTasks" type="button" value="All tasks" onclick="my_dashboardMessageHandler.removeFilter();" />
<input id="Database" type="button" value="Database" onclick="my_dashboardMessageHandler.publishFilter('incident','assignment_groupLIKEDatabase' );" />
</j:jelly>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2019 05:49 AM
Anyone that got an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2019 06:06 AM
Is this behavior in all browsers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2019 06:25 AM
Hi,
Yes, tried IE, Firefox and Chrome. Same issue in all browsers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2019 09:25 AM
The code of interactive filter contains an error. The filter
assignment_groupLIKEDatabase
should be fixed it to
assignment_group.nameLIKEDatabase