@diamondlightsource/davidia
    Preparing search index...

    Interface ImagePlotProps

    Props for the ImagePlot component

    interface ImagePlotProps {
        aspect?: Aspect;
        batonProps?: BatonProps;
        customToolbarChildren?: ReactNode;
        plotConfig: PlotConfig;
        selections?: SelectionBase[];
        selectionsListener?: SelectionsEventListener;
        updateSelection?: null | SelectionHandler;
        values: NDT;
    }

    Hierarchy (View Summary)

    Index

    Properties

    aspect?: Aspect

    aspect ratio

    batonProps?: BatonProps

    The baton props

    customToolbarChildren?: ReactNode

    Children to customize the toolbar. If undefined then use default toolbar, if null, disable toolbar, otherwise use given children

    plotConfig: PlotConfig

    The plot configuration

    selections?: SelectionBase[]

    The selections

    selectionsListener?: SelectionsEventListener

    Selections event listener

    updateSelection?: null | SelectionHandler

    Handles adding selection (set null to disable editing)

    values: NDT

    pixel values