Skip to content

Commit

Permalink
fixing based on Thomas' review
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Dec 14, 2016
1 parent be913a4 commit 1a285e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core_plugins/kbn_vislib_vis_types/public/area.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function HistogramVisType(Private) {
}],
interpolationModes: [{
value: 'linear',
text: 'normal',
text: 'straight',
}, {
value: 'cardinal',
text: 'smoothed',
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/kbn_vislib_vis_types/public/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function HistogramVisType(Private) {
}],
interpolationModes: [{
value: 'linear',
text: 'normal',
text: 'straight',
}, {
value: 'cardinal',
text: 'smoothed',
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/vislib/lib/types/point_series.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1a285e3

Please sign in to comment.