mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fixing #10427
This commit is contained in:
parent
e570afcca8
commit
4e03d2032d
5 changed files with 43 additions and 6 deletions
|
@ -88,7 +88,16 @@ export default function PointSeriesVisType(Private) {
|
|||
setYExtents: false
|
||||
},
|
||||
positions: ['top', 'left', 'right', 'bottom'],
|
||||
chartTypes: ['line', 'area', 'histogram'],
|
||||
chartTypes: [{
|
||||
value: 'line',
|
||||
text: 'line'
|
||||
}, {
|
||||
value: 'area',
|
||||
text: 'area'
|
||||
}, {
|
||||
value: 'histogram',
|
||||
text: 'bar'
|
||||
}],
|
||||
axisModes: ['normal', 'percentage', 'wiggle', 'silhouette'],
|
||||
scaleTypes: ['linear', 'log', 'square root'],
|
||||
chartModes: ['normal', 'stacked'],
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
>
|
||||
<div class="kuiSideBarCollapsibleTitle">
|
||||
<div
|
||||
ng-init="isSeriesOpen = ($index === 0)"
|
||||
class="kuiSideBarCollapsibleTitle__label"
|
||||
ng-click="isSeriesOpen = !isSeriesOpen"
|
||||
>
|
||||
|
@ -31,14 +32,14 @@
|
|||
|
||||
<div class="kuiSideBarFormRow">
|
||||
<label class="kuiSideBarFormRow__label" for="{{ 'seriesType' + $index }}">
|
||||
Type
|
||||
Chart Type
|
||||
</label>
|
||||
<div class="kuiSideBarFormRow__control">
|
||||
<select
|
||||
id="{{ 'seriesType' + $index }}"
|
||||
class="kuiSelect kuiSideBarSelect"
|
||||
ng-model="chart.type"
|
||||
ng-options="mode for mode in vis.type.params.chartTypes"
|
||||
ng-options="mode.value as mode.text for mode in vis.type.params.chartTypes"
|
||||
></select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -86,7 +86,16 @@ export default function PointSeriesVisType(Private) {
|
|||
setYExtents: false
|
||||
},
|
||||
positions: ['top', 'left', 'right', 'bottom'],
|
||||
chartTypes: ['line', 'area', 'histogram'],
|
||||
chartTypes: [{
|
||||
value: 'line',
|
||||
text: 'line'
|
||||
}, {
|
||||
value: 'area',
|
||||
text: 'area'
|
||||
}, {
|
||||
value: 'histogram',
|
||||
text: 'bar'
|
||||
}],
|
||||
axisModes: ['normal', 'percentage', 'wiggle', 'silhouette'],
|
||||
scaleTypes: ['linear', 'log', 'square root'],
|
||||
chartModes: ['normal', 'stacked'],
|
||||
|
|
|
@ -85,7 +85,16 @@ export default function PointSeriesVisType(Private) {
|
|||
setYExtents: false
|
||||
},
|
||||
positions: ['top', 'left', 'right', 'bottom'],
|
||||
chartTypes: ['line', 'area', 'histogram'],
|
||||
chartTypes: [{
|
||||
value: 'line',
|
||||
text: 'line'
|
||||
}, {
|
||||
value: 'area',
|
||||
text: 'area'
|
||||
}, {
|
||||
value: 'histogram',
|
||||
text: 'bar'
|
||||
}],
|
||||
axisModes: ['normal', 'percentage', 'wiggle', 'silhouette'],
|
||||
scaleTypes: ['linear', 'log', 'square root'],
|
||||
chartModes: ['normal', 'stacked'],
|
||||
|
|
|
@ -75,7 +75,16 @@ export default function PointSeriesVisType(Private) {
|
|||
setYExtents: false
|
||||
},
|
||||
positions: ['top', 'left', 'right', 'bottom'],
|
||||
chartTypes: ['line', 'area', 'histogram'],
|
||||
chartTypes: [{
|
||||
value: 'line',
|
||||
text: 'line'
|
||||
}, {
|
||||
value: 'area',
|
||||
text: 'area'
|
||||
}, {
|
||||
value: 'histogram',
|
||||
text: 'bar'
|
||||
}],
|
||||
axisModes: ['normal', 'percentage', 'wiggle', 'silhouette'],
|
||||
scaleTypes: ['linear', 'log', 'square root'],
|
||||
chartModes: ['normal', 'stacked'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue