| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Methods Structures Enumerations Style examples Glossaries VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Active Charts > AxesToPoints Method PageMap.AxesToPoints MethodDo conversion from chart axis units to points based on given chart, or last chart drawn if omitted. ExamplePointF xy = pm.AxesToPoints("Bar1",2,5); System.Console.WriteLine("Points conversion based on left scale - (2,5)=" + xy); Possible output would be Points conversion based on left scale - (2,5)={X=225, Y=193.25} Points conversion based on right scale - (2,500)={X=225, Y=240.3333} Points conversion based on topmost scale - (2,600)={X=225, Y=278} Overloads
DescriptionThis could be used to overdraw the chart with arbitrary graphics, for example to allow the user to click on points to have them circled on the display, and temporarily eliminated from some analysis. See also ...PageMap Class – Introduction | PageMap Members |