<div dir="ltr"><div><div><div><div><div>Hi all,<br><br>I've been banging my head on this problem for a while: I need to get the origin of a vtkAxis in X/Y screen coordinates, in order to position another widget to line up with the axis.<br><br></div>I found this snippet in vtkChartXY's own internal UpdateLayout function:<br><br>    // Get the screen coordinates for the origin, and move the axes there.<br>    vtkVector2f origin(0.0);<br>    vtkTransform2D* transform = this->ChartPrivate->PlotCorners[0]->GetTransform();<br>    transform->TransformPoints(origin.GetData(), origin.GetData(), 1);<br><br></div>But I don't have access to those transforms, and can't see a way to get at them :/<br><br></div>What would be the best way to get the screen coordinates of a vtkAxis origin? Or actually, what I really want is the bottom left corner of the plot area, which in my case corresponds to the axis origin.<br><br></div>Thanks in advance,<br></div>Elvis<br></div>