This is used directly in chartFactory(chartElement, chartGroupName) on line 34, but then calls chartGroup(undefined) in getOptionsFromAttrs() on line 83, because "records" is presumably interpreting it as a variable on the scope.
Changing the line 34 call would make the scope.$eval call consistent:
var chart = chartFactory(chartElement, scope.$eval(chartGroupName))
Then the directive needs to be used with the chart name quoted as follows:
When I set a chart group, collective chart filtering seemed to stop working. My initial syntax was:
This is used directly in chartFactory(chartElement, chartGroupName) on line 34, but then calls chartGroup(undefined) in getOptionsFromAttrs() on line 83, because "records" is presumably interpreting it as a variable on the scope.
Changing the line 34 call would make the scope.$eval call consistent:
Then the directive needs to be used with the chart name quoted as follows: