 
         sortBy: (event) ->
             @collection.sortModelsBy(@ui.sortOrder.val())
+
+        toggleToolbar: ->
+            # Not yet rendered, this will be called again in onRender
+            if not @_isRendered then return
+            @ui.toolbar.toggle(@collection.length >= @options.minValuesForToolbar)
+
+        onRender: ->
+            # Hide toolbar by default, this will be shown only if the
+            # data size exceeds the threshold
+            @toggleToolbar()
 
         filterBars: (event) ->
             event.stopPropagation()

        collectionEvents:
            'sort': 'sortChildren'
            'change': 'change'

        events:
            'change [name=sort]': 'sortBy'

    class BarChart extends c.Marionette.CompositeView
        className: 'info-bar-chart'

        options:
            minValuesForToolbar: 10

        template: templates.chart

        itemView: Bar
