js.dataplotter.dataPlotterIndexController.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openmuc-webui-dataplotter Show documentation
Show all versions of openmuc-webui-dataplotter Show documentation
Data Plotter plug-in for the WebUI of the OpenMUC framework.
The newest version!
(function () {
var injectParams = ['$scope', '$q', 'DataPlotterService'];
var DataPlotterIndexController = function ($scope, $q, DataPlotterService) {
DataPlotterService.getConfigFile().then(function (response) {
$scope.confFile = response;
});
$scope.getPlotter = function (name) {
var res = $scope.confFile.find((plotter) => plotter.name === name);
return res ? res : '';
};
};
DataPlotterIndexController.$inject = injectParams;
angular.module('openmuc.dataplotter').controller('DataPlotterIndexController', DataPlotterIndexController);
})();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy