Module |
|
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
Compute BaselineY and ScaleY so the [Low, High] Value range will correspond to [Top, Bottom] Y position range. GetYForValue(InHighValue) == InTopY GetYForValue(InLowValue) == InBottomY