PlotLayoutSVG constructor

PlotLayoutSVG(DivElement plotDiv, bool withCanvas)

Creates a plot layout to be contained in plotDiv. For additional 2D html drawings contourCanvas is created if withCanvas is true. This constructor is used to embed a single plot by SimplePlot of this package.

Implementation

PlotLayoutSVG(DivElement plotDiv, bool withCanvas)
    : this.mult(
          plotDiv,
          withCanvas,
          [
            [0.0, 0.0, 1.0, 1.0]
          ],
          null);