Reference > Active Charts > AxesToPoints Method

PageMap.AxesToPoints Method

Do conversion from chart axis units to points based on given chart, or last chart drawn if omitted.

Example

PointF 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

Description

This 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


Send comments on this topic
© Dyalog Ltd 2013