Skip to content

Commit

Permalink
update schemas to ingore geotile_grid (#31354)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese authored Feb 18, 2019
1 parent d9980aa commit 6db7d0b
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions src/legacy/core_plugins/kbn_vislib_vis_types/public/area.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,23 +156,23 @@ export default function PointSeriesVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.area.segmentTitle', { defaultMessage: 'X-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'group',
title: i18n('kbnVislibVisTypes.area.groupTitle', { defaultMessage: 'Split Series' }),
min: 0,
max: 3,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'split',
title: i18n('kbnVislibVisTypes.area.splitTitle', { defaultMessage: 'Split Chart' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function GaugeVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.gauge.groupTitle', { defaultMessage: 'Split Group' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function GoalVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.goal.groupTitle', { defaultMessage: 'Split Group' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,23 @@ export default function HeatmapVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.heatmap.segmentTitle', { defaultMessage: 'X-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'group',
title: i18n('kbnVislibVisTypes.heatmap.groupTitle', { defaultMessage: 'Y-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'split',
title: i18n('kbnVislibVisTypes.heatmap.splitTitle', { defaultMessage: 'Split Chart' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,23 +159,23 @@ export default function PointSeriesVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.histogram.segmentTitle', { defaultMessage: 'X-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'group',
title: i18n('kbnVislibVisTypes.histogram.groupTitle', { defaultMessage: 'Split Series' }),
min: 0,
max: 3,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'split',
title: i18n('kbnVislibVisTypes.histogram.splitTitle', { defaultMessage: 'Split Chart' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,23 +161,23 @@ export default function PointSeriesVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.horizontalBar.segmentTitle', { defaultMessage: 'X-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'group',
title: i18n('kbnVislibVisTypes.horizontalBar.groupTitle', { defaultMessage: 'Split Series' }),
min: 0,
max: 3,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'split',
title: i18n('kbnVislibVisTypes.horizontalBar.splitTitle', { defaultMessage: 'Split Chart' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down
6 changes: 3 additions & 3 deletions src/legacy/core_plugins/kbn_vislib_vis_types/public/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,23 +157,23 @@ export default function PointSeriesVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.line.segmentTitle', { defaultMessage: 'X-Axis' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'group',
title: i18n('kbnVislibVisTypes.line.groupTitle', { defaultMessage: 'Split Series' }),
min: 0,
max: 3,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
name: 'split',
title: i18n('kbnVislibVisTypes.line.splitTitle', { defaultMessage: 'Split Chart' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down
4 changes: 2 additions & 2 deletions src/legacy/core_plugins/kbn_vislib_vis_types/public/pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function HistogramVisType(Private, i18n) {
title: i18n('kbnVislibVisTypes.pie.segmentTitle', { defaultMessage: 'Split Slices' }),
min: 0,
max: Infinity,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
},
{
group: 'buckets',
Expand All @@ -93,7 +93,7 @@ export default function HistogramVisType(Private, i18n) {
mustBeFirst: true,
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
},
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/core_plugins/metric_vis/public/metric_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function MetricVisProvider(Private, i18n) {
title: i18n('metricVis.schemas.splitGroupTitle', { defaultMessage: 'Split Group' }),
min: 0,
max: 1,
aggFilter: ['!geohash_grid', '!filter']
aggFilter: ['!geohash_grid', '!geotile_grid', '!filter']
}
])
}
Expand Down

0 comments on commit 6db7d0b

Please sign in to comment.