PlotLayoutSVG class

Computes a plot layout for drawing with SVG, but also for 2D html: Sets up the graphics containers and their relative coordinates and sizes.

Constructors

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.

Properties

borderAreaSize ↔ int
read / write
contourCanvas ↔ CanvasElement
read / write
dataArea ↔ SvgSvgElement
All graphics is drawn using SVG Scalable Vector Graphics. plotArea is added to plotDiv and contains the entire plot. dataArea is added to plotArea and contains the polylines and the legend. The axes are drawn outside the dataArea but within the plotArea.
read / write
dataAreaBorder ↔ RectElement
A frame around the 'dataArea'.
read / write
dataAreaRect ↔ Rectangle<int>
The coordinates with respect to their container
read / write
dataInsets ↔ Rectangle<int>
The coordinates with respect to their container
read / write
plotArea ↔ SvgSvgElement
All graphics is drawn using SVG Scalable Vector Graphics. plotArea is added to plotDiv and contains the entire plot. dataArea is added to plotArea and contains the polylines and the legend. The axes are drawn outside the dataArea but within the plotArea.
read / write
plotAreaRect ↔ Rectangle<int>
The coordinates with respect to their container
read / write
plotDiv ↔ DivElement
plotDiv will contain the graphics, it's size must be as wished by the user.
read / write
xaxAreaHeight ↔ int
read / write
xaxisRect ↔ Rectangle<int>
The coordinates with respect to their container
read / write
yaxAreaWidth ↔ int
read / write
yaxisRect ↔ Rectangle<int>
The coordinates with respect to their container
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited