GH_QuickGraphFrame

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

Constructors

GH_QuickGraphFrame

#
public GH_QuickGraphFrame(
frame,
zoom,
min,
max
)

Properties

Frame

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

Maximum

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

Minimum

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

Zoom

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

Methods

EvaluateY

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

Map

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

MapX

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

MapY

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

UnevaluateY

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