DataXToView


Convert x-coordinate from global to chart space where chart space client area is defined by its width in view_width argument and represented range in xrange argument.

float DataXToView(const float x, const PointF &xrange, const float view_width);
Namespace: nitisa::charts
Include: Charts/Core/Utils.h