<commit_before>define(['angular','ops-mgr/overview/module-name'], function (angular,moduleName) {

    var directive = function () {
        return {
            restrict: "EA",
            scope:true,
            controllerAs:'vm',
            bindToController: {
                panelTitle: "@",
                refreshIntervalTime:"@"
            },
            templateUrl: 'js/ops-mgr/overview/job-status-indicator/job-status-indicator-template.html',
            controller: "JobStatusIndicatorController",
            link: function ($scope, element, attrs) {
                $scope.$on('$destroy', function() {
                });
            } //DOM manipulation\}
        }

    };

    var controller = function ($scope,$element,$http, $q,$interval,OpsManagerJobService, HttpService,ChartJobStatusService) {
        var self = this;
        this.refreshInterval = null;
        this.dataLoaded = false;
        this.chartApi = {};
        this.chartConfig = {

        }

        this.running = 0;
        this.failed = 0;
        this.chartData = [];
        this.runningCounts = [];
        var maxDatapoints = 20;
        this.chartOptions =  {
            chart: {
                type: 'lineChart',
                margin : {
                    top: 5,
                    right: 5,
                    bottom:10,
                    left: 20
                },
                x: function(d){return d[0];},
                y: function(d){return d[1];},
                useVoronoi: false,
                clipEdge: false,
                duration: 0,
                height:136,
                useInteractiveGuideline: true,
                xAxis: {
                    axisLabel: 'Time',
                    showMaxMin: false,
                    tickFormat: function(d) {
                        return d3.time.format('%X')(new Date(d))
                    }
                },
                yAxis: {
                    axisLabel:'Running',<commit_msg>KYLO-213 Removed "Running" label from Y axis of Job Activity KPI on IE<commit_after>define(['angular','ops-mgr/overview/module-name'], function (angular,moduleName) {

    var directive = function () {
        return {
            restrict: "EA",
            scope:true,
            controllerAs:'vm',
            bindToController: {
                panelTitle: "@",
                refreshIntervalTime:"@"
            },
            templateUrl: 'js/ops-mgr/overview/job-status-indicator/job-status-indicator-template.html',
            controller: "JobStatusIndicatorController",
            link: function ($scope, element, attrs) {
                $scope.$on('$destroy', function() {
                });
            } //DOM manipulation\}
        }

    };

    var controller = function ($scope,$element,$http, $q,$interval,OpsManagerJobService, HttpService,ChartJobStatusService) {
        var self = this;
        this.refreshInterval = null;
        this.dataLoaded = false;
        this.chartApi = {};
        this.chartConfig = {

        }

        this.running = 0;
        this.failed = 0;
        this.chartData = [];
        this.runningCounts = [];
        var maxDatapoints = 20;
        this.chartOptions =  {
            chart: {
                type: 'lineChart',
                margin : {
                    top: 5,
                    right: 5,
                    bottom:10,
                    left: 20
                },
                x: function(d){return d[0];},
                y: function(d){return d[1];},
                useVoronoi: false,
                clipEdge: false,
                duration: 0,
                height:136,
                useInteractiveGuideline: true,
                xAxis: {
                    axisLabel: 'Time',
                    showMaxMin: false,
                    tickFormat: function(d) {
                        return d3.time.format('%X')(new Date(d))
                    }
                },
                yAxis: {
                    axisLabel:'',
{'fraction_non_alphanumeric': 0.11425, 'fraction_numerical': 0.00925, 'mean_word_length': 1.237695749440716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6966903', 'n_tokens_mistral': 1080, 'n_tokens_neox': 988, 'n_words': 191}