Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn committed Sep 8, 2023
1 parent dafed9e commit f20a04d
Show file tree
Hide file tree
Showing 15 changed files with 54 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -1516,7 +1516,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -2057,7 +2057,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -2573,7 +2573,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -3103,7 +3103,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -4768,7 +4768,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -4861,7 +4861,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ exports[`Time chart header component Renders Time chart header component 1`] = `
data-test-subj="discoverIntervalDateRange"
onBlur={[Function]}
onFocus={[Function]}
/>
>
Aug 28, 2023 @ 16:47:34.403
-
Aug 28, 2023 @ 16:47:34.406
</div>
</EuiText>
</span>
</EuiToolTip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -1835,7 +1835,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down Expand Up @@ -2333,7 +2333,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,131 +44,7 @@ exports[`Count distribution component Renders count distribution component with
},
}
}
>
<Plt
data={
Array [
Object {
"name": Object {
"name": "count()",
"type": "integer",
},
"orientation": "v",
"type": "bar",
"x": Array [
"2021-05-01 00:00:00",
"2021-06-01 00:00:00",
"2021-07-01 00:00:00",
],
"y": Array [
2549,
9337,
1173,
],
},
]
}
layout={
Object {
"colorway": Array [
"#8C55A3",
],
"height": 220,
"margin": Object {
"b": 15,
"l": 60,
"pad": 0,
"r": 10,
"t": 30,
},
"showlegend": true,
}
}
>
<PlotlyComponent
config={
Object {
"displayModeBar": false,
}
}
data={
Array [
Object {
"name": Object {
"name": "count()",
"type": "integer",
},
"orientation": "v",
"type": "bar",
"x": Array [
"2021-05-01 00:00:00",
"2021-06-01 00:00:00",
"2021-07-01 00:00:00",
],
"y": Array [
2549,
9337,
1173,
],
},
]
}
debug={false}
divId="explorerPlotComponent"
layout={
Object {
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
],
"height": 220,
"hovermode": "closest",
"legend": Object {
"orientation": "h",
"traceorder": "normal",
},
"margin": Object {
"b": 15,
"l": 60,
"pad": 0,
"r": 10,
"t": 30,
},
"showlegend": true,
"xaxis": Object {
"automargin": true,
"rangemode": "normal",
"showgrid": true,
"zeroline": false,
},
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"zeroline": false,
},
}
}
style={
Object {
"height": "100%",
"width": "100%",
}
}
useResizeHandler={true}
>
<div
id="explorerPlotComponent"
style={
Object {
"height": "100%",
"width": "100%",
}
}
/>
</PlotlyComponent>
</Plt>
</Component>
/>
`;

exports[`Count distribution component Renders empty count distribution component 1`] = `<Component />`;
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ exports[`Service breakdown panel component renders service breakdown panel 1`] =
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -698,7 +698,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down Expand Up @@ -756,7 +756,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Gauge component Renders gauge component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -710,7 +710,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -763,7 +763,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Histogram component Renders histogram component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -711,7 +711,7 @@ exports[`Histogram component Renders histogram component 1`] = `
Object {
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"legend": Object {
Expand Down Expand Up @@ -767,7 +767,7 @@ exports[`Histogram component Renders histogram component 1`] = `
"autosize": true,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand All @@ -792,6 +792,9 @@ exports[`Histogram component Renders histogram component 1`] = `
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -698,7 +698,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down Expand Up @@ -756,7 +756,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Line component Renders line component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Expand Down Expand Up @@ -697,7 +697,7 @@ exports[`Line component Renders line component 1`] = `
Object {
"autosize": true,
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"legend": Object {
Expand Down Expand Up @@ -749,7 +749,7 @@ exports[`Line component Renders line component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Expand Down
Loading

0 comments on commit f20a04d

Please sign in to comment.