A Plotly plot.

interface PlotlyPlot {
    config: Partial<PlotlyConfig>;
    data: Partial<PlotData>[];
    id: string;
    layout: Partial<PlotlyLayout>;
    mobileConfig: Partial<PlotlyConfig>;
    mobileLayout: Partial<PlotlyLayout>;
    panelBreakpoint?: number;
}

Properties

config: Partial<PlotlyConfig>

Plotly config

data: Partial<PlotData>[]

Plot data

id: string

Plot id

layout: Partial<PlotlyLayout>

Plotly layout

mobileConfig: Partial<PlotlyConfig>

Mobile Plotly config

mobileLayout: Partial<PlotlyLayout>

Mobile Plotly layout

panelBreakpoint?: number

Breakpoint for when to use mobile settings.

This is the width of the container that the plot is in not the viewport.