         enabled: false
       scrollbar:
         enabled: true
-      plotOptions:
-        series:
-          fillOpacity: '0.3'
       xAxis:
         startOnTick: false
         minPadding: 0

  w.initContext = ->
    if $scope.isDataFound = w.content?

      $scope.groupedTable = w.content.grouped_table

      # TODO: theming config for positive/negative hex codes
      # chartColors = ImpacTheming.get().chartColors
      # Set account colors by group sub-type
      setSeriesColors(w.content.chart.series, {'positive': '#3FC4FF', 'negative': '#e50228'})

      # Custom settings for the 'totals' serie.
      totals_serie = _.find(w.content.chart.series, (serie)-> serie.type == 'area')
      # TODO: add configurable in theming svc
      totals_serie.color = '#7badfc'

      # Wait for the next digest cycle to ensure the chart parent (.data-container) is shown.
      $timeout(->

          formatter: ()->
            $filter('mnoDate')(data.labels[this.value], getPeriod())
        plotLines: [{
          color: 'rgba(0, 85, 255, 0.2)'
          value: getTodayMarker()
          width: 1
          label:
            text: null
            verticalAlign: 'top'
            textAlign: 'center'
            rotation: 0
