Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/FGraphSeries
Description
Compute BaselineY and ScaleY so the [Low, High] Value range will correspond to [Top, Bottom] Y position range. GetYForValue(InHighValue) == InTopY GetYForValue(InLowValue) == InBottomY
| Name | ComputeBaselineAndScale |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphSeries.h |
| Include Path | #include "Insights/ViewModels/GraphSeries.h" |
void ComputeBaselineAndScale
(
const double InLowValue,
const double InHighValue,
const float InTopY,
const float InBottomY,
double & OutBaselineY,
double & OutScaleY
) const