GH_QuickGraphFrame

References
public class GH_QuickGraphFrame
Combines a set of useful target frame properties and methods.

Constructors

GH_QuickGraphFrame

#
public GH_QuickGraphFrame(RectangleF frame, float zoom, double min, double max)
frame (RectangleF)
zoom (float)
min (double)
max (double)

Properties

Frame

#
public RectangleF Frame { get; }
Gets the frame dimensions.

Maximum

#
public double Maximum { get; }
Gets the highest y value in the frame.

Minimum

#
public double Minimum { get; }
Gets the lowest y value in the frame.

Zoom

#
public float Zoom { get; }
Gets the zoom factor.

Methods

EvaluateY

#
public double EvaluateY(float normalisedParameter)
Convert a normalised Y parameter back to actual values.
normalisedParameter (float)

Map

#
public PointF Map(PointF point)
Map a normalised point into frame coordinates.
point (PointF)

MapX

#
public float MapX(float parameter)
Map a normalised parameter onto frame coordinates.
parameter (float)Normalised parameter.
Frame coordinate.

MapY

#
public float MapY(float parameter)
Map a normalised parameter onto frame coordinates.
parameter (float)Normalised parameter.
Frame coordinate.

UnevaluateY

#
public float UnevaluateY(double normalisedParameter)
Convert a Y value back to a normalised parameter.
normalisedParameter (double)