do not allow 0-sized tags

This commit is contained in:
Thomas Neirynck 2016-11-21 11:44:26 -05:00
parent b282084cc5
commit 42bbc39110
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ module.controller('KbnTagCloudController', function ($scope, $element, Private,
});
$scope.$watch('vis.params', (options) =>tagCloud.setOptions(options));
$scope.$watch('vis.params', (options) => tagCloud.setOptions(options));
$scope.$watch(getContainerSize, _.debounce(() => {
tagCloud.resize();

View file

@ -18,7 +18,7 @@ uiModules.get('kibana/table_vis')
connect: true,
tooltips: true,
step: 1,
range: {'min': 0, 'max': 100},
range: {'min': 1, 'max': 100},
format: {to: (value) => parseInt(value) + 'px', from: value => parseInt(value)}
});
slider.noUiSlider.on('change', function () {