FGraphSeries::ComputeBaselineAndScale

Compute BaselineY and ScaleY so the [Low, High] Value range will correspond to [Top, Bottom] Y position range.

Windows
MacOS
Linux

References

Module

TraceInsights

Header

/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphSeries.h

Include

#include "Insights/ViewModels/GraphSeries.h"

Syntax

void ComputeBaselineAndScale
(
    const double InLowValue,
    const double InHighValue,
    const float InTopY,
    const float InBottomY,
    double & OutBaselineY,
    double & OutScaleY
) const

Remarks

Compute BaselineY and ScaleY so the [Low, High] Value range will correspond to [Top, Bottom] Y position range. GetYForValue(InHighValue) == InTopY GetYForValue(InLowValue) == InBottomY

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss