fixing unselected dropdown options

This commit is contained in:
ppisljar 2017-01-16 12:38:43 +01:00
parent 08b01f03a6
commit 8544079ffb
2 changed files with 3 additions and 10 deletions

View file

@ -60,14 +60,7 @@ export default function PointSeriesVisType(Private) {
title: {}
}
],
seriesParams: [{
show: true,
type: 'area',
mode: 'stacked',
data: {
label: 'Count'
}
}],
seriesParams: [],
addTooltip: true,
addLegend: true,
legendPosition: 'right',

View file

@ -17,11 +17,11 @@ module.directive('vislibSeries', function ($parse, $compile) {
type: last ? last.type : 'line',
drawLinesBetweenPoints: true,
showCircles: true,
smoothLines: false,
interpolate: 'linear',
data: {
label: label
},
valueAxis: ''
valueAxis: $scope.vis.params.valueAxes[0].id
};
}