histogram: option to set point radius

This commit is contained in:
Van Eenwyk, Jonathan 2013-10-25 10:57:38 -06:00
parent 0f96b7a2a3
commit f6bc9d0c33
2 changed files with 6 additions and 1 deletions

View File

@ -91,6 +91,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
intervals : ['auto','1s','1m','5m','10m','30m','1h','3h','12h','1d','1w','1y'],
fill : 0,
linewidth : 3,
pointradius : 5,
timezone : 'browser', // browser, utc or a standard timezone
spyable : true,
zoomlinks : true,
@ -437,7 +438,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
show: scope.panel.points,
fill: 1,
fillColor: false,
radius: 5
radius: scope.panel.pointradius
},
shadowSize: 1
},

View File

@ -25,6 +25,10 @@
<label class="small">Line Width</label>
<select class="input-mini" ng-model="panel.linewidth" ng-options="f for f in [0,1,2,3,4,5,6,7,8,9,10]"></select>
</div>
<div class="editor-option" ng-show="panel.points">
<label class="small">Point Radius</label>
<select class="input-mini" ng-model="panel.pointradius" ng-options="f for f in [1,2,3,4,5,6,7,8,9,10]"></select>
</div>
</div>
<div class="section">
<h5>Multiple Series</h5>