@diamondlightsource/davidia
    Preparing search index...

    Interface LinePlotProps

    Props for the LinePlot component.

    interface LinePlotProps {
        batonProps?: BatonProps;
        customToolbarChildren?: ReactNode;
        lineData: LineData[];
        plotConfig: PlotConfig;
        selections?: SelectionBase[];
        selectionsListener?: SelectionsEventListener;
        updateLineParams?: (key: string, params: LineParams) => void;
        updateSelection?: null | SelectionHandler;
        xDomain?: Domain;
        yDomain?: Domain;
    }

    Hierarchy (View Summary)

    Index

    Properties

    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

    lineData: LineData[]

    The line data

    plotConfig: PlotConfig

    The plot configuration

    selections?: SelectionBase[]

    The selections

    selectionsListener?: SelectionsEventListener

    Selections event listener

    updateLineParams?: (key: string, params: LineParams) => void

    Handles updating line params

    updateSelection?: null | SelectionHandler

    Handles adding selection (set null to disable editing)

    xDomain?: Domain

    The x data domain

    yDomain?: Domain

    The y data domain