mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
worked on fill style options, connected line, null and null as zero
This commit is contained in:
parent
ee8ba469dd
commit
eee81617b3
@ -15,20 +15,35 @@
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<!-- <a class="small" ng-click="toggleYAxis(series)">
|
||||
2:nd Y-axis (y²) <input type="checkbox"></input>
|
||||
</a> -->
|
||||
|
||||
<!-- <div class="editor-row">
|
||||
Fill style <select class="input-mini" ng-model="panel.aliasFillStyle[series.alias]" ng-options="f for f in ['no', 'all', 'null']" ng-change="get_data()"></select>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<script type="text/ng-template" id="colorPopup.html">
|
||||
<div class="histogram-legend-popover">
|
||||
<div class="histogram-legend-popover-header">
|
||||
<a class="close" ng-click="dismiss();" href="">×</a>
|
||||
</div>
|
||||
|
||||
<div class="editor-row">
|
||||
<a class="small" ng-click="toggleYAxis(series)">
|
||||
2:nd Y-axis (y²) <input type="checkbox"></input>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="editor-row">
|
||||
Fill style <select class="input-mini" ng-model="panel.aliasFillStyle[series.alias]" ng-options="f for f in ['no', 'all', 'null']" ng-change="get_data()"></select>
|
||||
<div class="editor-row small" style="margin-left: 5px; padding-bottom: 0;">
|
||||
<label>Axis:</label>
|
||||
<button ng-click="toggleYAxis(series)"
|
||||
class="btn btn-mini"
|
||||
ng-class="{'btn-success': series.yaxis === 1 }">
|
||||
Left
|
||||
</button>
|
||||
<button ng-click="toggleYAxis(series)"
|
||||
class="btn btn-mini"
|
||||
ng-class="{'btn-success': series.yaxis === 2 }">
|
||||
Right
|
||||
</button>
|
||||
<label>Null points:</label>
|
||||
<button ng-click="panel.aliasFillStyle[series.alias] = 'no'; get_data();" class="btn btn btn-mini">Connect</button>
|
||||
<button ng-click="panel.aliasFillStyle[series.alias] = 'null';get_data();" class="btn btn-success btn-mini">Null</button>
|
||||
<button ng-click="panel.aliasFillStyle[series.alias] = 'all';get_data();" class="btn btn btn-mini">Zero</button>
|
||||
</div>
|
||||
|
||||
<div class="editor-row">
|
||||
|
2
src/css/bootstrap.dark.min.css
vendored
2
src/css/bootstrap.dark.min.css
vendored
File diff suppressed because one or more lines are too long
2
src/css/bootstrap.light.min.css
vendored
2
src/css/bootstrap.light.min.css
vendored
File diff suppressed because one or more lines are too long
22
src/vendor/bootstrap/less/grafana.less
vendored
22
src/vendor/bootstrap/less/grafana.less
vendored
@ -154,14 +154,20 @@
|
||||
}
|
||||
|
||||
.histogram-legend-popover {
|
||||
width: 150px;
|
||||
|
||||
.histogram-legend-popover-header {
|
||||
background: #41474c;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #353a3e;
|
||||
padding: 3px 5px;
|
||||
white-space: nowrap;
|
||||
width: 200px;
|
||||
label {
|
||||
display: inline-block;
|
||||
width: 70px;
|
||||
}
|
||||
.btn {
|
||||
padding: 1px 3px;
|
||||
margin-right: 0px;
|
||||
line-height: initial;
|
||||
}
|
||||
.close {
|
||||
color: white;
|
||||
opacity: 0.7;
|
||||
text-shadow: none;
|
||||
}
|
||||
.editor-row {
|
||||
padding: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user