unbrake-frontend/src/tests/__snapshots__/RealTimeChart.test.jsx.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<RealTimeChart /> render() renders the component 1`] = `
<ChartComponent
data={
Object {
"datasets": Array [
Object {
"backgroundColor": undefined,
"borderColor": undefined,
"cubicInterpolationMode": "monotone",
"data": Array [],
"fill": false,
"label": undefined,
},
],
}
}
datasetKeyProvider={[Function]}
height={500}
legend={
Object {
"display": true,
"position": "bottom",
}
}
options={
Object {
"elements": Object {
"point": Object {
"radius": 0,
},
},
"legend": Object {
"display": true,
},
"maintainAspectRatio": false,
"scales": Object {
"xAxes": Array [
Object {
"gridLines": Object {
"display": true,
},
"maxBarThickness": 3,
"realtime": Object {
"delay": 1000,
"duration": 20000,
"onRefresh": [Function],
"refresh": 500,
},
"type": "realtime",
},
],
"yAxes": Array [
Object {
"scaleLabel": Object {
"display": true,
"labelString": "mv",
},
"ticks": Object {
"max": 5000,
"min": 0,
"stepSize": 500,
},
},
],
},
"title": Object {
"display": false,
},
"tooltips": Object {
"enabled": false,
"intersect": false,
"mode": "nearest",
},
}
}
redraw={false}
type="line"
width={300}
/>
`;