Skip to main content

ScanPlot2d

The ScanPlot2d component plots 2d (image) data for the currently selected scan

// https://github.com/fabricjs/fabric.js/issues/8836
<DaiquiriCode fixedHeight={500}>
<ScanPlot2d
data={{
1: {
scanid: 1,
axes: {
ys: {
images: [],
},
},
},
}}
selectedScan={1}
currentPoint={1}
url={useBaseUrl('/diff.png')}
/>
</DaiquiriCode>