(function() {
  'use strict';

  angular
  .module('dowser')
  .factory('AmChartGraph', AmChartGraphService);

  /** @ngInject */
  function AmChartGraphService() {
    function AmChartGraph(data, index) {
      return {
        "balloonText": "[[value]] " + (data.unit || 'un'),
        "bullet": "round",
        "dashLengthField": "dashLength",
        "id": "AmGraph-" + index,
        "lineAlpha": 1,
        "bulletSize": 10,
        "bulletBorderAlpha": 1,
        "bulletBorderColor": "#455A64",
        "lineThickness": 3,
        "markerType": "square",
        "title": data.category,
        "valueAxis": "ValueAxis-" + index,
        "valueField": data.category
      };
    }

    return AmChartGraph;
  }
})();

(function() {
  'use strict';

  angular
  .module('dowser')
  .factory('AmChartGraph', AmChartGraphService);

  /** @ngInject */
  function AmChartGraphService() {
    function AmChartGraph(data, index) {
      return {
        "balloonText": "[[value]] " + (data.unit || 'un'),
        "bullet": "round",
        "dashLengthField": "dashLength",
        "id": "AmGraph-" + index,
        "lineAlpha": !index ? 1 : 0.5,
        "bulletSize": !index ? 10 : 8,
        "bulletBorderAlpha": !index ? 1 : 0.5,
        "bulletBorderColor": "#455A64",
        "lineThickness": 3,
        "markerType": "square",
        "title": data.category,
        "valueAxis": "ValueAxis-" + index,
        "valueField": data.category
      };
    }

    return AmChartGraph;
  }
})();

Add alpha to other graphs