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, CanvasElement contourCanvas)
-
Creates a plot layout to be contained in
plotDiv
.contourCanvas
will, if not null, be appended toplotDiv
to provide a means for html 2D drawings.
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