We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad134b2 commit 4bd0d3bCopy full SHA for 4bd0d3b
src/plugins/vis_type_timeseries/common/vis_schema.ts
@@ -111,7 +111,7 @@ export const metricsItems = schema.object({
111
field: stringOptionalNullable,
112
mode: schema.oneOf([schema.literal('line'), schema.literal('band')]),
113
shade: schema.oneOf([numberOptional, stringOptionalNullable]),
114
- value: schema.oneOf([numberOptional, stringOptionalNullable]),
+ value: schema.maybe(schema.oneOf([numberOptional, stringOptionalNullable])),
115
percentile: stringOptionalNullable,
116
})
117
)
0 commit comments