top of page

Group bars in Column/Bar chart

Pie chart has an option to display top n slices and group rest of the slices to a single slice called 'Others' . While we click on that 'Others', it will show all items within that Slice. But we don't have this option in Bar/Column chart. Here is a script to group top n bars in Column/Bar chart.


  1. Create a Bar/Column chart

  2. Add below script to the widget and specify how many bars need to be displayed. Rest of the bars will group to single bar called 'Others'

  3. Save the script and refresh the widget

Contact us for the script

Price $20


  1. Value of bar 'Others' is the SUM of values of items associated with the bar.

  2. This functionality works when dimension in X-axis has no filter. For example, if X-axis shows 'Region', the functionality works well if all regions are selected in dashboard filter. If only few Regions are excluded or included, chart will show all bars.

  3. Contact us if you need to customize the existing behavior of script.

138 views0 comments

Recent Posts

See All


bottom of page