FGraphSeries::ComputeBaselineAndScale

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

Unreal Engine C++ API Reference > Developer > TraceInsights > Insights > ViewModels > FGraphSeries

References

   
Module TraceInsights
Header /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphSeries.h
Include #include "Insights/ViewModels/GraphSeries.h"
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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library