You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can place text at a point on the chart using coordinates, and I can adjust its alignment by customizing the font, but I'd love to be able to shift the relative rendering by a specified number of pixels (e.g., 5px offset down and to the right). The Test plot type could have fields like PixelOffsetX and PixelOffsetY which default to 0.
Those fields would simply get added to these pixel values here:
I can place text at a point on the chart using coordinates, and I can adjust its alignment by customizing the font, but I'd love to be able to shift the relative rendering by a specified number of pixels (e.g., 5px offset down and to the right). The
Test
plot type could have fields likePixelOffsetX
andPixelOffsetY
which default to0
.Those fields would simply get added to these pixel values here:
ScottPlot/src/ScottPlot/Plottable/Text.cs
Lines 89 to 90 in 9b4aaa2
The text was updated successfully, but these errors were encountered: