2using System.Collections.Generic;
 
   13        private Dictionary<string, double> xLabelPositions = 
null;
 
   14        private Dictionary<string, double> yLabelPositions = 
null;
 
   19        private readonly 
int offsetX;
 
   20        private readonly 
int offsetY;
 
   21        private readonly 
int width;
 
   22        private readonly 
int height;
 
   23        private readonly 
float origoX;
 
   24        private readonly 
float origoY;
 
   25        private readonly 
bool elementwise;
 
  117            get => this.xLabelPositions;
 
  118            set => this.xLabelPositions = value;
 
  126            get => this.yLabelPositions;
 
  127            set => this.yLabelPositions = value;
 
  137            return Graph.
Scale(VectorX, VectorY, this.minX, this.maxX, this.minY, this.maxY,
 
  138                this.offsetX, this.offsetY, this.width, this.height, this.xLabelPositions,
 
  139                this.yLabelPositions);
 
  148            return Graph.
Scale(Vector, this.minX, this.maxX, this.offsetX, this.width, this.xLabelPositions);
 
  157            return Graph.
Scale(Vector, this.minY, this.maxY, this.offsetY, this.height, this.yLabelPositions);
 
  167            return Graph.
Descale(Value, this.minX, this.maxX, this.offsetX, this.width);
 
  176            return Graph.
Descale(Value, this.minY, this.maxY, this.offsetY, this.height);
 
Contains information about the current drawing area.
IElement DescaleY(double Value)
Descales a scaled value along the Y-axis.
bool Elementwise
If graph was generated using element-wise addition operations.
Dictionary< string, double > YLabelPositions
Optional fixed Y-Label positions.
int Height
Height of drawing area.
float OrigoY
Y-coordinate for the origo.
int OffsetY
Y-offset of drawing area, relative to the canvas origin.
SKPoint[] Scale(IVector VectorX, IVector VectorY)
Scales two vectors of equal size to points in a rectangular area.
IElement DescaleX(double Value)
Descales a scaled value along the X-axis.
IElement MinX
Smallest value of X.
float OrigoX
X-coordinate for the origo.
IElement MaxY
Largest value of Y.
Dictionary< string, double > XLabelPositions
Optional fixed X-Label positions.
int Width
Width of drawing area.
IElement MaxX
Largest value of X.
double[] ScaleX(IVector Vector)
Scales a vector to fit a given area.
int OffsetX
X-offset of drawing area, relative to the canvas origin.
IElement MinY
Smallest value of Y.
DrawingArea(IElement MinX, IElement MaxX, IElement MinY, IElement MaxY, int OffsetX, int OffsetY, int Width, int Height, float OrigoX, float OrigoY, bool Elementwise)
Contains information about the current drawing area.
double[] ScaleY(IVector Vector)
Scales a vector to fit a given area.
static IElement Descale(double Value, IElement Min, IElement Max, double Offset, double Size)
Descales a scaled value.
static SKPoint[] Scale(IVector VectorX, IVector VectorY, IElement MinX, IElement MaxX, IElement MinY, IElement MaxY, double OffsetX, double OffsetY, double Width, double Height, Dictionary< string, double > XLabelPositions, Dictionary< string, double > YLabelPositions)
Scales two vectors of equal size to points in a rectangular area.
Basic interface for all types of elements.
Basic interface for vectors.