mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fixing based on Thomas' review
This commit is contained in:
parent
be913a4a31
commit
1a285e35d1
3 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,7 @@ export default function HistogramVisType(Private) {
|
|||
}],
|
||||
interpolationModes: [{
|
||||
value: 'linear',
|
||||
text: 'normal',
|
||||
text: 'straight',
|
||||
}, {
|
||||
value: 'cardinal',
|
||||
text: 'smoothed',
|
||||
|
|
|
@ -42,7 +42,7 @@ export default function HistogramVisType(Private) {
|
|||
}],
|
||||
interpolationModes: [{
|
||||
value: 'linear',
|
||||
text: 'normal',
|
||||
text: 'straight',
|
||||
}, {
|
||||
value: 'cardinal',
|
||||
text: 'smoothed',
|
||||
|
|
|
@ -5,6 +5,7 @@ export default function ColumnHandler(Private) {
|
|||
const createSeries = (cfg, series) => {
|
||||
const stacked = ['stacked', 'percentage', 'wiggle', 'silhouette'].includes(cfg.mode);
|
||||
let interpolate = cfg.interpolate;
|
||||
// for backward compatibility when loading URLs or configs we need to check smoothLines
|
||||
if (cfg.smoothLines) interpolate = 'cardinal';
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue