Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoBgn committed Mar 28, 2018
1 parent 7616571 commit 00b562f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ <h2> The report found top store strategies on the horizon include: </h2>
</div>

<!-- No data found -->
<div ng-if="(isDataFound==false)" common-data-not-found on-display-alerts="onDisplayAlerts()" endpoint="::widget.category" width="::widget.width" />
<div ng-show="widget.demoData" common-data-not-found />
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ <h4>Widget settings</h4>
</div>

<!-- No data found -->
<div ng-if="(isDataFound==false)" common-data-not-found on-display-alerts="onDisplayAlerts()" endpoint="::widget.category" width="::widget.width" />
<div ng-show="widget.demoData" common-data-not-found />
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# Component generated by Impac! Widget Generator!
#
module = angular.module('impac.components.widgets.sales-customers-engagement', [])
module.controller('WidgetSalesCustomersEngagementCtrl', ($scope, $q, $filter, ImpacWidgetsSvc, ImpacAssets, HighchartsFactory, ImpacUtilities) ->

Expand All @@ -27,15 +24,6 @@ module.controller('WidgetSalesCustomersEngagementCtrl', ($scope, $q, $filter, Im
# # == Sub-Components - Needed? =============================================================
$scope.chartDeferred = $q.defer()

# == Chart Events Callbacks =====================================================================
# Sets the transactions list resources type and displays it
# onClickBar = (event) ->
# $scope.isChartDisplayed = false

# == Directive Events Callbacks =====================================================================
# $scope.onButtonBack = () ->
# $scope.isChartDisplayed = true

# Widget specific methods
# --------------------------------------
w.initContext = ->
Expand Down Expand Up @@ -79,9 +67,6 @@ module.controller('WidgetSalesCustomersEngagementCtrl', ($scope, $q, $filter, Im

$scope.chart.render(w.content.chart, options)

# # Add events callbacks to chart object
# $scope.chart.addSeriesEvent('click', onClickBar)

# Notifies parent element that the chart is ready to be displayed
$scope.chartDeferred.notify($scope.chart)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
angular
.module('impac.services.highcharts-factory', [])
.factory('HighchartsFactory', ($filter, HighchartsThemeService)->
.factory('HighchartsFactory', ($filter)->

templates =
line: Object.freeze
Expand Down

0 comments on commit 00b562f

Please sign in to comment.