DataYToView


Convert y-coordinate from global to chart space where chart space client area is defined by its height in view_height argument and represented range in yrange argument.

float DataYToView(const float y, const PointF &yrange, const float view_height);
Namespace: nitisa::charts
Include: Charts/Core/Utils.h