kibana/x-pack/plugins/lens/public/xy_visualization/__snapshots__/to_expression.test.ts.snap
Marco Liberati d3d3fa7bd2
[Lens] New value labels config option for bar charts (#81776)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-06 16:34:30 +01:00

168 lines
4.3 KiB
Plaintext
Generated

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`#toExpression should map to a valid AST 1`] = `
Object {
"chain": Array [
Object {
"arguments": Object {
"axisTitlesVisibilitySettings": Array [
Object {
"chain": Array [
Object {
"arguments": Object {
"x": Array [
true,
],
"yLeft": Array [
true,
],
"yRight": Array [
true,
],
},
"function": "lens_xy_axisTitlesVisibilityConfig",
"type": "function",
},
],
"type": "expression",
},
],
"description": Array [
"",
],
"fittingFunction": Array [
"Carry",
],
"gridlinesVisibilitySettings": Array [
Object {
"chain": Array [
Object {
"arguments": Object {
"x": Array [
false,
],
"yLeft": Array [
true,
],
"yRight": Array [
true,
],
},
"function": "lens_xy_gridlinesConfig",
"type": "function",
},
],
"type": "expression",
},
],
"layers": Array [
Object {
"chain": Array [
Object {
"arguments": Object {
"accessors": Array [
"b",
"c",
],
"columnToLabel": Array [
"{\\"b\\":\\"col_b\\",\\"c\\":\\"col_c\\",\\"d\\":\\"col_d\\"}",
],
"hide": Array [
false,
],
"isHistogram": Array [
false,
],
"layerId": Array [
"first",
],
"seriesType": Array [
"area",
],
"splitAccessor": Array [
"d",
],
"xAccessor": Array [
"a",
],
"xScaleType": Array [
"linear",
],
"yConfig": Array [],
"yScaleType": Array [
"linear",
],
},
"function": "lens_xy_layer",
"type": "function",
},
],
"type": "expression",
},
],
"legend": Array [
Object {
"chain": Array [
Object {
"arguments": Object {
"isVisible": Array [
true,
],
"position": Array [
"bottom",
],
"showSingleSeries": Array [],
},
"function": "lens_xy_legendConfig",
"type": "function",
},
],
"type": "expression",
},
],
"tickLabelsVisibilitySettings": Array [
Object {
"chain": Array [
Object {
"arguments": Object {
"x": Array [
false,
],
"yLeft": Array [
true,
],
"yRight": Array [
true,
],
},
"function": "lens_xy_tickLabelsConfig",
"type": "function",
},
],
"type": "expression",
},
],
"title": Array [
"",
],
"valueLabels": Array [
"hide",
],
"xTitle": Array [
"",
],
"yRightTitle": Array [
"",
],
"yTitle": Array [
"",
],
},
"function": "lens_xy_chart",
"type": "function",
},
],
"type": "expression",
}
`;