mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
This commit is contained in:
parent
2eaec6970e
commit
4f4411a46a
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-if="['line', 'area', 'column'].indexOf(options.globalSeriesType) >= 0" class="checkbox">
|
||||
<div ng-if="['line', 'area', 'column', 'scatter'].indexOf(options.globalSeriesType) >= 0" class="checkbox">
|
||||
<label><input type="checkbox" ng-model="options.annotations"> Show annotations</label>
|
||||
</div>
|
||||
|
||||
@ -129,7 +129,7 @@
|
||||
<div ng-if="options.series.stacking" class="checkbox">
|
||||
<label class="control-label">
|
||||
<input type="checkbox" ng-model="options.series.percentValues">
|
||||
Percent values
|
||||
Percent stacking
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -284,7 +284,7 @@ function enableAnnotations(layout, seriesList, options) {
|
||||
seriesList.forEach((series) => {
|
||||
series.textposition = 'inside';
|
||||
});
|
||||
} else if (['line', 'area'].indexOf(options.globalSeriesType) >= 0) {
|
||||
} else if (['line', 'area', 'scatter'].indexOf(options.globalSeriesType) >= 0) {
|
||||
layout.yaxis.showticklabels = false;
|
||||
|
||||
delete layout.yaxis2;
|
||||
|
Loading…
Reference in New Issue
Block a user