Convert x- and y-coordinates from global to chart space where chart space client area is defined by its size in view_size
argument and represented ranges in xrange
and yrange
arguments.
PointF DataToView(const PointF &p, const PointF &xrange, const PointF &yrange, const PointF &view_size);
Namespace: | nitisa::charts |
Include: | Charts/Core/Utils.h |