private static void DrawPoint(IViewPort viewPort, int x, int y) { var pointRect = new CGRect(viewPort.DisplayPosition(new CGPoint(x, y)), new CGSize(CircleSize, CircleSize)); var path = UIBezierPath.FromOval(pointRect); path.Fill(); }
protected virtual CGPoint GetDrawPosition(double sourceX, double sourceY, IViewPort viewPort, IXAxis xAxis, IYAxis yAxis) => viewPort.DisplayPosition(new CGPoint(xAxis.GetContentValue(sourceX), yAxis.GetContentValue(sourceY)));