Type Alias DucPlotElement

DucPlotElement: _DucStackElementBase & DucPlotStyle & {
    layout: PlotLayout;
    type: "plot";
}

A DucPlotElement represents a finite layout or "paper space" within the infinite canvas. It serves as a container for viewports and other annotations, defining the final composition for printing or exporting. The element's own width/height should match the paperWidth/paperHeight defined in its layout.

Type declaration

  • layout: PlotLayout

    The layout definition for this plot, including paper size and margins.

  • type: "plot"