2013-12-06 14:53:05 +01:00
|
|
|
<div class="editor-row">
|
|
|
|
|
<div class="section">
|
|
|
|
|
<h5>Chart Options</h5>
|
2014-09-26 13:09:47 +02:00
|
|
|
<editor-opt-bool text="Bars" model="panel.bars" change="render()"></editor-opt-bool>
|
|
|
|
|
<editor-opt-bool text="Lines" model="panel.lines" change="render()"></editor-opt-bool>
|
|
|
|
|
<editor-opt-bool text="Points" model="panel.points" change="render()"></editor-opt-bool>
|
2014-01-12 21:21:41 +01:00
|
|
|
</div>
|
2014-02-05 11:12:47 +01:00
|
|
|
|
2014-01-12 11:53:41 +01:00
|
|
|
<div class="section">
|
|
|
|
|
<h5>Line options</h5>
|
|
|
|
|
<div class="editor-option" ng-show="panel.lines">
|
|
|
|
|
<label class="small">Line Fill</label>
|
|
|
|
|
<select class="input-mini" ng-model="panel.fill" ng-options="f for f in [0,1,2,3,4,5,6,7,8,9,10]" ng-change="render()"></select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="editor-option" ng-show="panel.lines">
|
|
|
|
|
<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]" ng-change="render()"></select>
|
|
|
|
|
</div>
|
2014-02-05 13:03:56 +01:00
|
|
|
<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]" ng-change="render()"></select>
|
|
|
|
|
</div>
|
2014-01-12 10:56:23 +01:00
|
|
|
<div class="editor-option">
|
2014-09-11 14:01:37 +02:00
|
|
|
<label class="small">Null point mode<tip>Define how null values should be drawn</tip></label>
|
2014-01-12 10:56:23 +01:00
|
|
|
<select class="input-medium" ng-model="panel.nullPointMode" ng-options="f for f in ['connected', 'null', 'null as zero']" ng-change="render()"></select>
|
|
|
|
|
</div>
|
2014-09-26 13:09:47 +02:00
|
|
|
|
|
|
|
|
<editor-opt-bool text="Staircase line" model="panel.steppedLine" change="render()"></editor-opt-bool>
|
2013-12-06 14:53:05 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="section">
|
|
|
|
|
<h5>Multiple Series</h5>
|
2014-09-26 13:09:47 +02:00
|
|
|
|
|
|
|
|
<editor-opt-bool text="Stack" model="panel.stack" change="render()"></editor-opt-bool>
|
|
|
|
|
<editor-opt-bool text="Percent" model="panel.percentage" change="render()" tip="Stack as a percentage of total"></editor-opt-bool>
|
|
|
|
|
|
2014-10-01 09:08:11 +02:00
|
|
|
</div>
|
2013-12-06 14:53:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section">
|
2014-02-05 11:12:47 +01:00
|
|
|
<h5>Rendering</h5>
|
2013-12-06 14:53:05 +01:00
|
|
|
<div class="editor-option">
|
2014-02-05 11:12:47 +01:00
|
|
|
<label class="small">Flot <tip>client side</tip></label>
|
|
|
|
|
<input type="radio" class="input-small" ng-model="panel.renderer" value="flot" ng-change="get_data()" />
|
2013-12-06 14:53:05 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="editor-option">
|
2014-02-05 11:12:47 +01:00
|
|
|
<label class="small">Graphite PNG <tip>server side</tip></label>
|
|
|
|
|
<input type="radio" class="input-small" ng-model="panel.renderer" value="png" ng-change="get_data()" />
|
2013-12-06 14:53:05 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-09-23 13:51:59 +02:00
|
|
|
|
|
|
|
|
<div class="section">
|
|
|
|
|
<h5>Tooltip</h5>
|
2014-10-02 10:55:08 +02:00
|
|
|
<editor-opt-bool
|
|
|
|
|
text="All series" model="panel.tooltip.shared" change="render()"
|
|
|
|
|
tip="Show all series on same tooltip and a x croshair to help follow all series">
|
|
|
|
|
</editor-opt-bool>
|
2014-10-01 09:08:11 +02:00
|
|
|
<div class="editor-option" ng-show="panel.stack">
|
|
|
|
|
<label class="small">Stacked Values <tip>How should the values in stacked charts to be calculated?</tip></label>
|
|
|
|
|
<select class="input-small" ng-model="panel.tooltip.value_type" ng-options="f for f in ['cumulative','individual']" ng-change="render()"></select>
|
2014-09-23 13:51:59 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-12-06 14:53:05 +01:00
|
|
|
</div>
|
2014-08-18 21:47:56 +02:00
|
|
|
|
2014-09-23 13:51:59 +02:00
|
|
|
|
2014-08-18 21:47:56 +02:00
|
|
|
<div class="editor-row">
|
|
|
|
|
<div class="section">
|
2014-08-20 08:35:17 +02:00
|
|
|
<h5>Series specific overrides <tip>Regex match example: /server[0-3]/i </tip></h5>
|
2014-08-20 11:31:40 +02:00
|
|
|
<div>
|
2014-08-26 14:17:46 +02:00
|
|
|
<div class="grafana-target" ng-repeat="override in panel.seriesOverrides" ng-controller="SeriesOverridesCtrl">
|
2014-08-19 10:46:08 +02:00
|
|
|
<div class="grafana-target-inner">
|
2014-09-05 07:02:59 +02:00
|
|
|
<ul class="grafana-segment-list">
|
2014-08-20 11:48:00 +02:00
|
|
|
<li class="grafana-target-segment">
|
2015-01-08 11:03:27 +01:00
|
|
|
<i class="fa fa-remove pointer" ng-click="removeSeriesOverride(override)"></i>
|
2014-08-19 10:46:08 +02:00
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="grafana-target-segment">
|
|
|
|
|
alias or regex
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2014-08-19 16:57:33 +02:00
|
|
|
<input type="text"
|
2014-08-26 14:17:46 +02:00
|
|
|
ng-model="override.alias"
|
|
|
|
|
bs-typeahead="getSeriesNames"
|
|
|
|
|
ng-blur="render()"
|
|
|
|
|
data-min-length=0 data-items=100
|
|
|
|
|
class="input-medium grafana-target-segment-input" >
|
2014-08-19 10:46:08 +02:00
|
|
|
</li>
|
|
|
|
|
<li class="grafana-target-segment" ng-repeat="option in currentOverrides">
|
2015-01-08 11:03:27 +01:00
|
|
|
<i class="pointer fa fa-remove" ng-click="removeOverride(option)"></i>
|
2014-08-19 10:46:08 +02:00
|
|
|
{{option.name}}: {{option.value}}
|
|
|
|
|
</li>
|
2014-10-15 14:13:53 -04:00
|
|
|
|
2015-01-12 12:55:19 +01:00
|
|
|
<li class="dropdown" dropdown-typeahead="overrideMenu" dropdown-typeahead-on-select="setOverride($item, $subItem)">
|
2014-08-19 10:46:08 +02:00
|
|
|
</li>
|
2014-10-15 14:13:53 -04:00
|
|
|
|
2014-08-19 10:46:08 +02:00
|
|
|
</ul>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<button class="btn btn-success" style="margin-top: 20px" ng-click="addSeriesOverride()">Add series override rule</button>
|
2014-08-18 21:47:56 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|